Skip to content
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

localization improvements #74

Open
ray007 opened this issue Jan 11, 2017 · 0 comments
Open

localization improvements #74

ray007 opened this issue Jan 11, 2017 · 0 comments

Comments

@ray007
Copy link

ray007 commented Jan 11, 2017

It would be nice, if strftime.localizeByIdentifier() also worked with just a 2-character language code, i.e. "de" instead of "de_DE".

And maybe something so we don't have to specify the difference in the formats to the default locale for strftime.localize()...

if Intl.DateTimeFormat is present, it should also be possible to generate a locale. At least the basics, the locale dependent formatters are a bit tricky, but we could fall back on the default locale there.

I can help out with some of this if you're interested.

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

No branches or pull requests

1 participant