source/text/scalc/01/func_datedif.xhp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
New commits: commit e3bcf0ef395578e011a76943a15f3467ea128b35 Author: Rafael Lima <rafael.palma.l...@gmail.com> AuthorDate: Fri Jan 21 15:40:12 2022 +0100 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Sat Jan 22 15:43:58 2022 +0100 tdf#146778 Clarify the use of the "Interval" argument + minor refactoring. Change-Id: I339ea6a2fbd94be3aa9fe756181e3a7b6a5cc604 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128677 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/scalc/01/func_datedif.xhp b/source/text/scalc/01/func_datedif.xhp index d6a1cb465..c8dae66be 100644 --- a/source/text/scalc/01/func_datedif.xhp +++ b/source/text/scalc/01/func_datedif.xhp @@ -17,19 +17,21 @@ <body> <bookmark xml-lang="en-US" branch="index" id="bm_id3155511"><bookmark_value>DATEDIF function</bookmark_value> </bookmark> -<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DATEDIF" id="bm_id3149022" localize="false"/><h2 id="hd_id3155511"><variable id="datedif"><link href="text/scalc/01/func_datedif.xhp">DATEDIF</link> -</variable></h2> +<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_DATEDIF" id="bm_id3149022" localize="false"/> +<h2 id="hd_id3155511"><variable id="datedif"><link href="text/scalc/01/func_datedif.xhp">DATEDIF</link></variable></h2> <paragraph role="paragraph" id="par_id3153551" xml-lang="en-US"><ahelp hid="HID_FUNC_DATEDIF">This function returns the number of whole days, months or years between Start date and End date.</ahelp></paragraph> <embed href="text/scalc/00/avail_release.xhp#3.6"/> <embed href="text/scalc/01/ODFF.xhp#odff"/> <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/> -<paragraph role="code" id="par_id3150474" xml-lang="en-US">DATEDIF(Start date; End date; Interval)</paragraph> +<paragraph role="paragraph" id="par_id531642776283977"> + <input>DATEDIF(Start date; End date; Interval)</input> +</paragraph> <paragraph role="paragraph" id="par_id3152815" xml-lang="en-US"> <emph>Start date</emph> is the date from when the calculation is carried out.</paragraph> <paragraph role="paragraph" id="par_id3155817" xml-lang="en-US"> <emph>End date</emph> is the date until the calculation is carried out. End date must be later, than Start date.</paragraph> <paragraph role="paragraph" id="par_id3153183" xml-lang="en-US"> -<emph>Interval</emph> is a string, accepted values are "d", "m", "y", "ym", "md" or "yd".</paragraph> +<emph>Interval</emph> is a string that determines how the difference will be calculated. Possible values are "d", "m", "y", "ym", "md" or "yd" regardless of the current language settings.</paragraph> <embed href="text/scalc/01/04060102.xhp#datenumberinfo"/> <embed href="text/scalc/01/04060102.xhp#datenumberwarn"/> <table id="tbl_id1342204">