Skip to content

Commit fb8f164

Browse files
committed
[time.format,time.parse] Fix references to ISO week calendar
1 parent 85f4bb4 commit fb8f164

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

source/time.tex

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10652,11 +10652,13 @@
1065210652
Equivalent to \tcode{\%Y-\%m-\%d}.
1065310653
\\ \rowsep
1065410654
\tcode{\%g} &
10655-
The last two decimal digits of the ISO week-based year.
10655+
The last two decimal digits of the calendar year
10656+
as specified in ISO 8601-1:2019 for the week calendar.
1065610657
If the result is a single digit it is prefixed by \tcode{0}.
1065710658
\\ \rowsep
1065810659
\tcode{\%G} &
10659-
The ISO week-based year as a decimal number.
10660+
The calendar year as a decimal number,
10661+
as specified in ISO 8601-1:2019 for the week calendar.
1066010662
If the result is less than four digits
1066110663
it is left-padded with \tcode{0} to four digits.
1066210664
\\ \rowsep
@@ -10682,7 +10684,7 @@
1068210684
the decimal number of \tcode{days} without padding.
1068310685
Otherwise,
1068410686
the day of the year as a decimal number.
10685-
Jan 1 is \tcode{001}.
10687+
January 1 is \tcode{001}.
1068610688
If the result is less than three digits,
1068710689
it is left-padded with \tcode{0} to three digits.
1068810690
\\ \rowsep
@@ -10736,7 +10738,8 @@
1073610738
Equivalent to \tcode{\%H:\%M:\%S}.
1073710739
\\ \rowsep
1073810740
\tcode{\%u} &
10739-
The ISO weekday as a decimal number (\tcode{1}-\tcode{7}),
10741+
The calendar day of week as a decimal number (\tcode{1}-\tcode{7}),
10742+
as specified in ISO 8601-1:2019,
1074010743
where Monday is \tcode{1}.
1074110744
The modified command \tcode{\%Ou} produces
1074210745
the locale's alternative representation.
@@ -10750,7 +10753,8 @@
1075010753
the locale's alternative representation.
1075110754
\\ \rowsep
1075210755
\tcode{\%V} &
10753-
The ISO week-based week number as a decimal number.
10756+
The calendar week of year as a decimal number,
10757+
as specified in ISO 8601-1:2019 for the week calendar.
1075410758
If the result is a single digit, it is prefixed with \tcode{0}.
1075510759
The modified command \tcode{\%OV} produces
1075610760
the locale's alternative representation.
@@ -11268,14 +11272,16 @@
1126811272
the width is applied to only \tcode{\%Y}.
1126911273
\\ \rowsep
1127011274
\tcode{\%g} &
11271-
The last two decimal digits of the ISO week-based year.
11275+
The last two decimal digits of the calendar year,
11276+
as specified in ISO 8601-1:2019 for the week calendar.
1127211277
The modified command \tcode{\%\placeholder{N}g} specifies
1127311278
the maximum number of characters to read.
1127411279
If \tcode{\placeholder{N}} is not specified, the default is 2.
1127511280
Leading zeroes are permitted but not required.
1127611281
\\ \rowsep
1127711282
\tcode{\%G} &
11278-
The ISO week-based year as a decimal number.
11283+
The calendar year as a decimal number,
11284+
as specified in ISO 8601-1:2019 for the week calendar.
1127911285
The modified command \tcode{\%\placeholder{N}G} specifies
1128011286
the maximum number of characters to read.
1128111287
If \tcode{\placeholder{N}} is not specified, the default is 4.
@@ -11307,7 +11313,7 @@
1130711313
a decimal number of \tcode{days}.
1130811314
Otherwise,
1130911315
the day of the year as a decimal number.
11310-
Jan 1 is \tcode{1}.
11316+
January 1 is \tcode{1}.
1131111317
In either case,
1131211318
the modified command \tcode{\%\placeholder{N}j} specifies
1131311319
the maximum number of characters to read.
@@ -11316,7 +11322,7 @@
1131611322
\\ \rowsep
1131711323
\tcode{\%m} &
1131811324
The month as a decimal number.
11319-
Jan is \tcode{1}.
11325+
January is \tcode{1}.
1132011326
The modified command \tcode{\%\placeholder{N}m} specifies
1132111327
the maximum number of characters to read.
1132211328
If \tcode{\placeholder{N}} is not specified, the default is 2.
@@ -11373,7 +11379,9 @@
1137311379
Equivalent to \tcode{\%H:\%M:\%S}.
1137411380
\\ \rowsep
1137511381
\tcode{\%u} &
11376-
The ISO weekday as a decimal number (\tcode{1}-\tcode{7}), where Monday is \tcode{1}.
11382+
The calendar day of week as a decimal number (\tcode{1}-\tcode{7}),
11383+
as specified in ISO 8601-1:2019,
11384+
where Monday is \tcode{1}.
1137711385
The modified command \tcode{\%\placeholder{N}u} specifies
1137811386
the maximum number of characters to read.
1137911387
If \tcode{\placeholder{N}} is not specified, the default is \tcode{1}.
@@ -11391,7 +11399,8 @@
1139111399
the locale's alternative representation.
1139211400
\\ \rowsep
1139311401
\tcode{\%V} &
11394-
The ISO week-based week number as a decimal number.
11402+
The calendar week of year as a decimal number,
11403+
as specified in ISO 8601-1:2019 for the week calendar.
1139511404
The modified command \tcode{\%\placeholder{N}V} specifies
1139611405
the maximum number of characters to read.
1139711406
If \tcode{\placeholder{N}} is not specified, the default is 2.

0 commit comments

Comments
 (0)