source/text/scalc/01/func_year.xhp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit df97eb056605af65df8f2b3935285b27b27c21ad Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Sun Nov 26 16:43:09 2023 +0100 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Tue Nov 28 14:56:01 2023 +0100 Fix example for YEAR() in Calc Change-Id: I77e05169e6786210683785217c3611f40d7ebb56 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/159901 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/scalc/01/func_year.xhp b/source/text/scalc/01/func_year.xhp index 9cf89c4bb4..0bdbab6f39 100644 --- a/source/text/scalc/01/func_year.xhp +++ b/source/text/scalc/01/func_year.xhp @@ -42,7 +42,7 @@ <item type="input">=YEAR(2)</item> returns 1900</paragraph> <paragraph role="paragraph" id="par_id3150115" xml-lang="en-US"> <item type="input">=YEAR(33333.33)</item> returns 1991</paragraph> -<paragraph role="paragraph" id="par_id141577548861101"><input>=YEAR(DATEVALUE('2010-09-28'))</input> returns 2010.</paragraph> +<paragraph role="paragraph" id="par_id141577548861101"><input>=YEAR(DATEVALUE("2010-09-28"))</input> returns 2010.</paragraph> <section id="relatedtopics"> <tip id="par_id371677013165080"><link href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/YEAR">YEAR wiki page</link>.</tip>