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 */ ?
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
.
Where I can check default configuration set for "en" locale?
@codemole986 lib/locale/base-config.js
Most helpful comment
Where I can check default configuration set for "en" locale?