Intl version missing country locale
See original GitHub issueIssue Description
Locale English (Germany)
date.toLocaleString('en-DE', {year: 'numeric', month: 'numeric', day: 'numeric'})
returns
12/20/2012
but should return
20.12.2012
Locale German (United States)
date.toLocaleString('de-US', {year: 'numeric', month: 'numeric', day: 'numeric'})
returns
20.12.2012
but should return
12/20/2012
It seems like whatever country is specified in the locale it is just being ignored.
Version, config, any additional info
"jsc-android": "236355.1.1"
using intl via
implementation "org.webkit:android-jsc-intl:r236355"
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
[React Intl Error MISSING_DATA] Missing locale data for locale
Try upgrade your Node Version. I had 10 and moved to 14.x: Issue was gone.
Read more >[Intl] forCountryCode() method requires uppercase locale codes
Country codes are uppercase per spec. We allow using lowercase codes everywhere in Intl. Why require uppercase here? Or am I missing ......
Read more >Localized Versions of your Pages | Google Search Central
Learn how you can use a sitemap and other methods to tell Google about all of the different language and regional versions of...
Read more >React Intl: Internationalize your React apps - LogRocket Blog
With the React Intl library, learn how to internationalize any React project to seamlessly change language and currency within web apps.
Read more >The Intl Component (Symfony Docs)
The replacement layer is limited to the en locale. If you want to use other locales, you should install the intl extension. There...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for your clear example. After some tracing and debugging, I found the root cause is that the ICU we used is not support en-DE locale, so it fallbacks to en. Update ICU could include more locale data but I should still profile the binary size increase.
Close this as #121 was merged.