[Webkit-unassigned] [Bug 197213] [INTL] en-NZ locale defaults to en-US locale instead of using en-NZ

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 14 21:21:40 PDT 2020


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

Daniel Compton <desk at danielcompton.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #9 from Daniel Compton <desk at danielcompton.net> ---
I think this is fixed, though there may be a regression in STP?

Running this on Safari 13.1, macOS 10.15.4 in NZ region:

[new Intl.DateTimeFormat("default").resolvedOptions().locale,
new Intl.DateTimeFormat().resolvedOptions().locale,
new Intl.DateTimeFormat().format(new Date()),
navigator.language]

=> ["en-AU", "en-AU", "15/04/2020", "en-au"] 

Running the same in STP Release 104 (Safari 13.2, WebKit 15610.1.8.3) returns:

=> ["en-US", "en-US", "4/15/2020", "en-us"]

-- 
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/20200415/d644e7e4/attachment-0001.htm>


More information about the webkit-unassigned mailing list