Bug 205442
Summary: | [INTL] Fix the group separator string used by Intl.NumberFormat with fr locale | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kevin Aldebert <kevin> |
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | ross.kirsling |
Priority: | P2 | ||
Version: | Safari 13 | ||
Hardware: | Mac | ||
OS: | macOS 10.15 | ||
URL: | https://codesandbox.io/s/agitated-yalow-9qvub |
Kevin Aldebert
Intl.NumberFormat does not use a group separator to format French (locale: fr) numbers.
The space should be used as it works on other browsers that support Intl and fr locale.
Reproducible on macOS with Safari.
Reproducible on iOS with Safari, Chrome and Firefox.
Example: https://codesandbox.io/s/agitated-yalow-9qvub
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ross Kirsling
Output of these now match Chrome and Firefox (presumably as of the ICU update in r259606):
new Intl.NumberFormat('fr', { style: 'currency', currency: 'EUR' }).format(123456.78)
new Intl.NumberFormat('fr', { style: 'currency', currency: 'EUR' }).format(123456.78)
This should hopefully be confirmable in Safari TP 105.