Skip to content
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

implement year_month_day #3913

Merged
merged 13 commits into from
Apr 3, 2024
Merged

implement year_month_day #3913

merged 13 commits into from
Apr 3, 2024

Conversation

zivshek
Copy link
Contributor

@zivshek zivshek commented Mar 30, 2024

also changed weekday, day, month, year's formatter to use formatter<std::tm, Char> so they all support the format strings

fixes #3772

include/fmt/chrono.h Outdated Show resolved Hide resolved
Copy link
Contributor

@vitaut vitaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

include/fmt/chrono.h Outdated Show resolved Hide resolved
include/fmt/chrono.h Outdated Show resolved Hide resolved
@zivshek zivshek requested a review from vitaut March 31, 2024 02:48
include/fmt/chrono.h Outdated Show resolved Hide resolved
@zivshek zivshek requested a review from vitaut April 1, 2024 13:34
@zivshek
Copy link
Contributor Author

zivshek commented Apr 3, 2024

@vitaut in case you missed the re-review request

@vitaut vitaut merged commit 71144ee into fmtlib:master Apr 3, 2024
41 checks passed
@vitaut
Copy link
Contributor

vitaut commented Apr 3, 2024

Merged, thanks!

happymonkey1 pushed a commit to happymonkey1/fmt that referenced this pull request Apr 7, 2024
* implement year_month_day, also changed weekday, day, month, year's formatter to use formatter<std::tm, Char> so they all support the format strings
* support ":L" for month and weekday
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for std::chrono::year_month_day
3 participants