ember-cli-dates icon indicating copy to clipboard operation
ember-cli-dates copied to clipboard

Locale is made global

Open johno opened this issue 10 years ago • 0 comments

As a result of recent changes with moment.js, when a locale is declared, it is made global. Since, in this context, it isn't desirable, we should expose the ability to set a default locale for the app:

return moment().locale(app.env.defaultDatesLocale || 'en');

johno avatar Feb 09 '15 20:02 johno