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>
This commit is contained in:
Steve Fanning
2020-05-26 19:44:30 +02:00
committed by Olivier Hallot
parent 3dbc5d6b39
commit 1e6411ced0

View File

@ -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>