You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parse quantity format suffixes invariantly (#1689)
Extracted from #1544 because format-string parsing is unrelated to
QuantityValue and is a standalone correctness improvement for the
existing formatter. Moving it out keeps the feature PR focused and lets
this behavior ship independently.
Changes:
- Parse significant-digit, abbreviation-index, currency, and percent
suffixes with invariant culture.
- Apply the same parsing rules to the span-based and .NET
Framework-compatible code paths.
Tests:
- Add Format_CustomSpecifierSuffix_ParsesUsingInvariantCulture for
abbreviation and significant-digit formats.
0 commit comments