Skip to content

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

Merged
vitaut merged 10 commits into
fmtlib:masterfrom
js324:locale-format
Dec 15, 2023
Merged

vitaut merged 10 commits into
fmtlib:masterfrom
js324:locale-format

Conversation

@js324

@js324 js324 commented Dec 11, 2023

Copy link
Copy Markdown
Contributor

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.

Comment thread include/fmt/format.h Outdated
@vitaut
vitaut merged commit 6025bd7 into fmtlib:master Dec 15, 2023
@vitaut

vitaut commented Dec 15, 2023

Copy link
Copy Markdown
Contributor

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