ember-cli-dates
ember-cli-dates copied to clipboard
Locale is made global
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');