mardi 27 mars 2018

Ember-moment how to format the date/time according to locale

I'm stick with how to format a date/time using ember-moment add-on using a browser locale. I defined the included locales in environment.jsas explained in their README: moment: { includeLocales: true } Then in a handlbars template I try to display the date: But the date is still displayed in US format: 03/27/2018 instead of the French one. Any ideas on how to fix that ? Thank you.




Aucun commentaire:

Enregistrer un commentaire