-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
moment.locale(opts.lang || opts.language);
being called before calling the moment()
function is problematic.
This will force you to use one language throughout your templates, i fixed it in a branch i'm currently using by sending the language as the 3rd parameter in the moment()
function instead.
Note: The problems won't appear until you have considerable traffic and using multiple locales, the locales would get mixed up.
Best,
Ayman.
Metadata
Metadata
Assignees
Labels
No labels