Skip to content

Commit a1c6639

Browse files
authored
Add timeZoneStyle=never to {$d :datetime} clarification
1 parent 7cca5d4 commit a1c6639

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/functions/datetime.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ The function `:datetime` is used to format both the date and time of a date/time
1414

1515
If no options are specified, this function defaults to the following:
1616

17-
- `{$d :datetime}` is the same as `{$d :datetime dateFields=year-month-day timePrecision=minute}`
17+
- `{$d :datetime}` is the same as<br>
18+
`{$d :datetime dateFields=year-month-day timePrecision=minute timeZoneStyle=never}`
1819

1920
> [!NOTE]
2021
> The formatting behavior of `:datetime` is inconsistent with `Intl.DateTimeFormat`

0 commit comments

Comments
 (0)