-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
getCanonicalLocales
in non apple/android environments (#1361
) Summary: Related to #1350 and #1211 As an initial step for `Intl` backed by ICU, I'm implementing the `getCanonicalLocales` function using BCP47Parser. The implementation is exactly the same as Apple's implementation Pull Request resolved: #1361 Test Plan: This change should be covered by the `get-canonical-locales.js` test. Reviewed By: tmikov Differential Revision: D55456992 Pulled By: neildhar fbshipit-source-id: 7f0c9b59cfcfb79a0b6f128a02357f52342ab4d3
- Loading branch information
1 parent
baadf27
commit ef5fa1a
Showing
2 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters