-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
The decimal point character for the chrono type 'S' seems to be locale-independent, contrary to what the docs says. Reproduced at https://godbolt.org/z/TKxcq5hf6.
From the docs:
The character for the decimal point is localized according to the locale. The modified command %OS produces the locale's alternative representation.
Relevant code (I think):
Line 1148 in 3135421
| *out++ = '.'; |
Line 1153 in 3135421
| *out++ = '.'; |
Line 1195 in 3135421
| fmt::format_to(std::back_inserter(buf), FMT_STRING("{:.{}f}"), |
Metadata
Metadata
Assignees
Labels
No labels