Bug 210554

Summary: REGRESSION (STP 100-104): Incorrect locale and language codes for Russian
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: DOMAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: david, keith_miller, mmaxfield, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Alexey Proskuryakov
Reported 2020-04-15 09:55:56 PDT
[new Intl.DateTimeFormat("default").resolvedOptions().locale, new Intl.DateTimeFormat().resolvedOptions().locale, new Intl.DateTimeFormat().format(new Date()), navigator.language] Shipping Safari and STP 100: ["ru", "ru", "15.04.2020", "ru"] STP 104: ["ru-RU", "ru-RU", "15.04.2020", "ru-ru"] Chrome: ["ru", "ru", "15.04.2020", "ru-RU"] I am not aware of any reasons to change shipping Safari behavior, and definitely not to be different from Chrome.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-04-15 09:56:06 PDT
Alexey Proskuryakov
Comment 2 2020-04-15 09:58:40 PDT
Here is my system configuration, which actually surprised me, but ru-RU isn't there for sure: $ defaults read -g AppleLanguages ( "ru-US", "en-US", "zh-Hant-US", "ja-US", "ko-US", "vi-US", "de-US", "fr-US", "zh-Hans-US", hi ) $ defaults read -g AppleLocale ru_US
Yusuke Suzuki
Comment 3 2020-09-14 20:23:39 PDT
This is fixed internally for newer STP.
Note You need to log in before you can comment on or make changes to this bug.