Skip to content

Commit 9dfb02a

Browse files
authored
[time.format] Add commas and clarifying "unless otherwise" (#7697)
See LWG 4124, which added wording before the text in question that motivates adding "unless otherwise specified".
1 parent 06e649b commit 9dfb02a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/time.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10784,14 +10784,14 @@
1078410784
\\ \rowsep
1078510785
\tcode{\%y} &
1078610786
The last two decimal digits of the year.
10787-
If the result is a single digit it is prefixed by \tcode{0}.
10787+
If the result is a single digit, it is prefixed by \tcode{0}.
1078810788
The modified command \tcode{\%Oy} produces the locale's alternative representation.
1078910789
The modified command \tcode{\%Ey} produces the locale's alternative representation
1079010790
of offset from \tcode{\%EC} (year only).
1079110791
\\ \rowsep
1079210792
\tcode{\%Y} &
1079310793
The year as a decimal number.
10794-
If the result is less than four digits
10794+
If the result is less than four digits,
1079510795
it is left-padded with \tcode{0} to four digits.
1079610796
The modified command \tcode{\%EY} produces
1079710797
the locale's alternative full year representation.
@@ -10816,7 +10816,8 @@
1081610816
\end{LongTable}
1081710817

1081810818
\pnum
10819-
If the \fmtgrammarterm{chrono-specs} is omitted,
10819+
Unless otherwise specified,
10820+
if the \fmtgrammarterm{chrono-specs} is omitted,
1082010821
the chrono object is formatted
1082110822
as if by streaming it to \tcode{basic_ostring\-stream<charT> os}
1082210823
with the formatting locale imbued

0 commit comments

Comments
 (0)