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

locale-aware byte size formatter #1542

Merged
merged 3 commits into from
Dec 28, 2023

Conversation

Karry
Copy link
Collaborator

@Karry Karry commented Dec 23, 2023

Char-based number formatting (using std::stringstream) is broken for locales with non-ascii thousand separator (at least with gcc 8.3.0), for that reason, we should provide custom locale aware number-to-string conversion for float numbers and use it in ByteSizeToString utility.

Char-based number formatting (using std::stringstream)
is broken for locales with non-ascii thousand separator
(at least with gcc 8.3.0), for that reason, we should
provide custom locale aware number-to-string conversion
for float numbers and use it in ByteSizeToString utility.
@Karry Karry force-pushed the locale-aware-byte-size-formatter branch from 3919156 to 2e8f79b Compare December 23, 2023 23:44
Copy link

sonarcloud bot commented Dec 23, 2023

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
91.1% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@Karry Karry marked this pull request as ready for review December 24, 2023 07:30
@Framstag Framstag merged commit f4f0a91 into Framstag:master Dec 28, 2023
1 check passed
@Karry Karry deleted the locale-aware-byte-size-formatter branch December 28, 2023 21:30
@github-actions github-actions bot added the released Issue has been released label Jun 2, 2024
Copy link

github-actions bot commented Jun 2, 2024

🎉 This issue has been resolved in v2024.06.02.1 (Release Notes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Issue has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants