-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add support for std::chrono::year_month_day
#3772
Comments
Thanks for the suggestion. I think we should do it but let's merge this issue into #3758 which already discusses cases like this. |
Closed
@vitaut can we reopen this as a separate issue? The implementation is not trivial if we want to support all types of constructors and functionalities. |
We don't need to support all constructors but let's reopen. |
This was referenced Mar 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since c++20 there is https://en.cppreference.com/w/cpp/chrono/year_month_day. Currently the only way to format this is to convert it to a
time_point
or writing a custom formatter. I think it would be quite useful to support this directly.There exists an std implementation https://en.cppreference.com/w/cpp/chrono/year_month_day/formatter, but none in {fmt}.
There exists a lot of other calendar points like this, which arent supported either
The text was updated successfully, but these errors were encountered: