This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative: Improve handling of grandfathered/private use tags
- Options which can't be applied to private use or grandfathered tags, whether script, region or Unicode extensions, trigger a RangeError in the constructor. (Closes #25 and #12) - Insert additional calls to CanonicalizeLanguageTag for grandfathered tags, to enable options to be applied. (Closes #17) - For grandfathered or private use tags, the entire tag is treated as the "language", both for the purposes of the Intl.Locale.prototype.language getter and for the language property of the options bag in the constructor. (Follows #25 (comment))
- Loading branch information
Showing
1 changed file
with
18 additions
and
5 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