Locale doesn't seem to work anymore ?
See original GitHub issueHi,
First of all, thank you for your app 😃
It seems that since a few days (i only noticed it at the beginning of the week), the locale doesn’t seem to work anymore… I have mine to display in French (‘fr’) and it used to work fine. Maybe i’m doing something wrong ? Has anyone noticed this as well ? Instead it keeps displaying in English
What i expect :
What i actually have :
My power-calendar code :
{{#power-calendar-range locale="fr" class="small-calendar-cell-size" center=center selected=filterService.calendarFilter onCenterChange=(action (mut center) value="date") onSelect=(action (mut filterService.calendarFilter) value="date") as |calendar|}} {{calendar.nav}} {{calendar.days}} {{/power-calendar-range}}
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (6 by maintainers)
I ran into this today with v0.4.1.
For those wanting to resolve this using the moment configuration option mentioned above, it appears that the correct way is to:
environment.js
file as @svparijs describes here Note: You must restart your ember application for the locales to be loaded.An example of configuring the moment service goes something like this:
@svparijs : I changed project since and don’t have acces to the files anymore. Sorry I can’t help =/