-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Configurable default moment format #49
Comments
any ideas on where this config should live? We could scoope it up from |
That sounds like a great place! |
Working on this tonight |
@jasonmit <3 |
I'm not sure this is needed since locale data implements what For example, If you wanted to deviate from the canned date formats: (ie: LT, LTS, L, LL, LLL, LLLL) you are able to implement your own custom locale data. Moment already supports this. But I think the more popular thing would be to use these canned formats since it's probably the behavior you are after. |
Right now moment format is hard coded to:
LLLL
. I've love the ability to globally set the default format to something else besides having to pass it into every moment function.If at all possible it would be great to tie it to the locale enhancement so formats could changed based on language selected. (issue #14)
The text was updated successfully, but these errors were encountered: