-
Notifications
You must be signed in to change notification settings - Fork 2.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
Default format prints nothing for std::chrono::system_clock::time_point #2319
Comments
Looks like the default format should be as described in https://eel.is/c++draft/time#clock.system.nonmembers-2, but this is not implemented yet. PRs are welcome. |
This part is a little bit triky. There are some workarounds.
The first is easy to implement. (I already implemented.) While the latter is more complicated, and of course, more time/memory consuming. |
The default should be locale-independent (the first option). There is a Library Working Group issue to fix it in the standard as well. |
Default format has been added in #2345. Thanks @sunmy2019. |
Tested with both current head and version 7.1.3( godbolt )
The following code yields an empty string
https://godbolt.org/z/E33jW916o
The text was updated successfully, but these errors were encountered: