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

Expose locale options #3

Open
jbt opened this issue Jun 3, 2015 · 0 comments
Open

Expose locale options #3

jbt opened this issue Jun 3, 2015 · 0 comments

Comments

@jbt
Copy link
Member

jbt commented Jun 3, 2015

There's currently some very basic forward-thinking provision in makeFormatter.js for locale support. Currently just for day of week stuff, but could quite easily also be used in the L and l tokens.

At the moment, the locale argument in makeFormatter is hardcoded to null everywhere it's used. Shouldn't be too hard to expose that, probably via speedDate.locale(obj) which would return a new instance of speedDate with its own formatter cache.

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