summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Fanning <stevemfanning@yahoo.co.uk>2020-05-26 19:44:30 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2020-05-26 20:41:19 +0200
commit1e6411ced00a5459e70a5f27651f2c55595ea9c5 (patch)
tree58fe0e45a440b06e0b2026bc53a5cd1718da4aca
parenttdf#126813 Fix scrolling of targeted references (diff)
downloadhelp-1e6411ced00a5459e70a5f27651f2c55595ea9c5.zip
help-1e6411ced00a5459e70a5f27651f2c55595ea9c5.tar.gz
Add square brackets around final parameter in syntax statement (to indicate parameter is optional)
Change-Id: I9c60cc607f157114da48e5369866adf68394dcf4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94837 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/scalc/01/func_weekday.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/scalc/01/func_weekday.xhp b/source/text/scalc/01/func_weekday.xhp
index 2cc2636..0afcbfb 100644
--- a/source/text/scalc/01/func_weekday.xhp
+++ b/source/text/scalc/01/func_weekday.xhp
@@ -37,7 +37,7 @@
<paragraph id="par_id3154228" role="paragraph" xml-lang="en-US"><ahelp hid="HID_FUNC_WOCHENTAG">Returns the day of the week for the given date value.</ahelp> The day is returned as an integer between 1 (Sunday) and 7 (Saturday) if no type or type=1 is specified. For other types, see the table below.</paragraph>
<embed href="text/scalc/01/ODFF.xhp#odff"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-<paragraph id="par_id3149033" role="code" xml-lang="en-US">WEEKDAY(Number; Type)</paragraph>
+<paragraph id="par_id3149033" role="code" xml-lang="en-US">WEEKDAY(Number[; Type])</paragraph>
<paragraph id="par_id3149046" role="paragraph" xml-lang="en-US"> <emph>Number</emph>, as a date value, is a decimal for which the weekday is to be returned.</paragraph>
<paragraph id="par_id3154394" role="paragraph" xml-lang="en-US"> <emph>Type</emph> is optional and determines the type of calculation. </paragraph>