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

Add localized formatting to non-decimal presentation types of ints #3750

Merged
merged 10 commits into from
Dec 15, 2023

Conversation

js324
Copy link
Contributor

@js324 js324 commented Dec 11, 2023

This fixes #3693 by adding a slightly modified version of the switch statement of presentation types, which is used in the default write_int() function without the locale option, to the write_int() handling writes with the locale grouping. Added tests as well.

include/fmt/format.h Outdated Show resolved Hide resolved
@vitaut vitaut merged commit 6025bd7 into fmtlib:master Dec 15, 2023
40 checks passed
@vitaut
Copy link
Contributor

vitaut commented Dec 15, 2023

Thank you!

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.

Localized formatting is always decimal
3 participants