Skip to content

Commit

Permalink
P2419R2 Clarify handling of encodings in localized formatting of chro…
Browse files Browse the repository at this point in the history
…no types
  • Loading branch information
jensmaurer committed Aug 4, 2022
1 parent 78b91e8 commit a733c2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@
#define @\defnlibxname{cpp_lib_execution}@ 201902L // also in \libheader{execution}
#define @\defnlibxname{cpp_lib_expected}@ 202202L // also in \libheader{expected}
#define @\defnlibxname{cpp_lib_filesystem}@ 201703L // also in \libheader{filesystem}
#define @\defnlibxname{cpp_lib_format}@ 202110L // also in \libheader{format}
#define @\defnlibxname{cpp_lib_format}@ 202207L // also in \libheader{format}
#define @\defnlibxname{cpp_lib_gcd_lcm}@ 201606L // also in \libheader{numeric}
#define @\defnlibxname{cpp_lib_generic_associative_lookup}@ 201304L // also in \libheader{map}, \libheader{set}
#define @\defnlibxname{cpp_lib_generic_unordered_lookup}@ 201811L
Expand Down
5 changes: 5 additions & 0 deletions source/time.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10509,6 +10509,11 @@
the formats specified in ISO 8601:2004 shall be used where so described.
Some of the conversion specifiers
depend on the formatting locale.
If the string literal encoding is a Unicode encoding form and
the locale is among
an \impldef{locales with Unicode support for chrono types} set of locales,
each replacement that depends on the locale is performed as if
the replacement character sequence is converted to the string literal encoding.
If the formatted object does not contain the information
the conversion specifier refers to,
an exception of type \tcode{format_error} is thrown.
Expand Down

0 comments on commit a733c2a

Please sign in to comment.