[Webkit-unassigned] [Bug 214546] New: Intl NumberFormat style currency incorrect format for 'es-CA' CAD

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 20 02:16:03 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=214546

            Bug ID: 214546
           Summary: Intl NumberFormat style currency incorrect format for
                    'es-CA' CAD
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tglm22 at gmail.com

Facing different results of currency format for locale 'es-CA' and CAD currency.

In Chrome(84.0.4147.89) and Firefox(78.0.2):
Intl.NumberFormat("es-CA", { style: 'currency', currency: "CAD" }).format(100.0) --> "100,00 CA$"

In Safari(14.0) & Webkit build(r264591):
Intl.NumberFormat("es-CA", { style: 'currency', currency: "CAD" }).format(100.0) --> "$110.00"

Unfortunately, I can't find any specification how it showed be formated. Is it expected behavior?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200720/da670799/attachment.htm>


More information about the webkit-unassigned mailing list