You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It says the library supports strftime-like date and time formatting but it only seems to support it for old-style time types, and does not mention that. For std::chrono::duration the documentation does not state the valid syntax (and e.g. 'Y' is perhaps non-obviously not supported). There is also no information on the localtime and gmtime functions, even though localtime is used in the example.
The text was updated successfully, but these errors were encountered:
{fmt} supports strftime formatting of both time and durations (https://godbolt.org/z/K8s4Mc) so that part of documentation is correct. Otherwise PRs to improve the docs are welcome.
vitaut
changed the title
'chrono' extension documentation is not correct
Incomplete 'chrono' extension documentation
Sep 10, 2020
It says the library supports
strftime-like date and time formatting
but it only seems to support it for old-styletime
types, and does not mention that. Forstd::chrono::duration
the documentation does not state the valid syntax (and e.g. 'Y' is perhaps non-obviously not supported). There is also no information on thelocaltime
andgmtime
functions, even thoughlocaltime
is used in the example.The text was updated successfully, but these errors were encountered: