-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D2372R1: Fixing locale handling in chrono formatters #1891
Comments
While this is a problem, it's a problem in the standard, not a bug in our implementation. I've renamed the issue to reflect what I think is the latest paper number addressing this. (It's somewhat unlikely the LWG issue will be adopted) |
@barcharcraz Note, I have removed the cxx23 label as that denotes accepted C++23 papers. If and when this paper is voted in, we should create a cxx23-labeled issue tracking the final revision. This label affects the Status Chart (see screenshot), and so does the time of issue creation - so when this paper is voted in, we should create a fresh issue to track that. No objections to keeping this issue with the "LEWG issue needed" etc. labels. |
Excuse me, does #2273 (P2372R3) solved this issue? |
LWG-3547 certainly seems to think it does. @barcharcraz, is there anything else to do here, or shall we consider this issue fixed? |
Describe the bug
Chrono formatting depends on locale by default and doesn't provide control over locale which is inconsistent with all the other standard formatters (https://cplusplus.github.io/LWG/issue3547).
Command-line test case
Expected behavior
Expected the output to be
i.e. not depend on the locale.
STL version
f675d68
The text was updated successfully, but these errors were encountered: