You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appreciate this may be the default language, but it would be convenient if the source had reference files (even empty ones) for these two locales.
At best one could expect a 404 for some implementations that dynamically switch locales, but in my case I'm having to create a list of the locale subset supported by both AngularJS and MomentJS - unfortunately, "en" and "en-US" don't make the of course.
How about a couple of blank files with the simple text /* default */ ?
The text was updated successfully, but these errors were encountered:
I agree its not symmetrical, but I don't think we'll ever put 'en' and 'en-US' separately. Also I don't think putting an empty file is a good idea -- it just happens that your algorithm uses filenames, somebody else's might try to detect defineLocale calls ...
Just add 'en-US' to the list of locales (you're writing the algo). en is just an alias for en-US.
I appreciate this may be the default language, but it would be convenient if the source had reference files (even empty ones) for these two locales.
At best one could expect a 404 for some implementations that dynamically switch locales, but in my case I'm having to create a list of the locale subset supported by both AngularJS and MomentJS - unfortunately, "en" and "en-US" don't make the of course.
How about a couple of blank files with the simple text /* default */ ?
The text was updated successfully, but these errors were encountered: