Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Always retrieve 'language', 'script', and 'region' options #18

Closed
anba opened this issue Feb 9, 2018 · 1 comment
Closed

Always retrieve 'language', 'script', and 'region' options #18

anba opened this issue Feb 9, 2018 · 1 comment

Comments

@anba
Copy link
Contributor

anba commented Feb 9, 2018

The 'language', 'script', and 'region' options should always be retrieved and validated, even when unused, for consistency with Unicode extension options and for consistency with other Intl constructors, e.g. compare to InitializeNumberFormat which gets and validates the currency and currencyDisplay options even when style is not "currency".

@littledan
Copy link
Member

In particular, even when not matching the langtag production? I'd be OK with this change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants