| Summary: | REGRESSION (STP 100-104): Incorrect locale and language codes for Russian | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | DOM | Assignee: | 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 | ||
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
This is fixed internally for newer STP. |
[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.