-
Notifications
You must be signed in to change notification settings - Fork 605
-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the constructor case-insensitive #947
Comments
Also I think it would be helpful to emit a warning when a locale passed in is invalid, this is such an easy thing to miss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I run the following:
I get
the latter of which is correct. I think the constructor should automatically capitalise the locale code correctly as this feels like something that could catch a lot of people out (I might be happy to raise a PR myself)
The text was updated successfully, but these errors were encountered: