Skip to content

Commit 9311da8

Browse files
authored
Merge 2022-07 LWG Motion 23
P2419R2 Clarify handling of encodings in localized formatting of chrono types
2 parents 4c124dc + 55b6fb3 commit 9311da8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/time.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10509,6 +10509,11 @@
1050910509
the formats specified in ISO 8601:2004 shall be used where so described.
1051010510
Some of the conversion specifiers
1051110511
depend on the formatting locale.
10512+
If the string literal encoding is a Unicode encoding form and
10513+
the locale is among
10514+
an \impldef{locales with Unicode support for chrono types} set of locales,
10515+
each replacement that depends on the locale is performed as if
10516+
the replacement character sequence is converted to the string literal encoding.
1051210517
If the formatted object does not contain the information
1051310518
the conversion specifier refers to,
1051410519
an exception of type \tcode{format_error} is thrown.

0 commit comments

Comments
 (0)