Skip to content

Commit a733c2a

Browse files
committed
P2419R2 Clarify handling of encodings in localized formatting of chrono types
1 parent 78b91e8 commit a733c2a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

source/support.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@
617617
#define @\defnlibxname{cpp_lib_execution}@ 201902L // also in \libheader{execution}
618618
#define @\defnlibxname{cpp_lib_expected}@ 202202L // also in \libheader{expected}
619619
#define @\defnlibxname{cpp_lib_filesystem}@ 201703L // also in \libheader{filesystem}
620-
#define @\defnlibxname{cpp_lib_format}@ 202110L // also in \libheader{format}
620+
#define @\defnlibxname{cpp_lib_format}@ 202207L // also in \libheader{format}
621621
#define @\defnlibxname{cpp_lib_gcd_lcm}@ 201606L // also in \libheader{numeric}
622622
#define @\defnlibxname{cpp_lib_generic_associative_lookup}@ 201304L // also in \libheader{map}, \libheader{set}
623623
#define @\defnlibxname{cpp_lib_generic_unordered_lookup}@ 201811L

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)