You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
Now I also have an equal object but for german. I don't know where to drop it because if I drop it in the config it overrides the english config.
Then I have a select dropdown in a header menu view with EN and DE (I'm already getting it to lower case for translations) in my controller and I can't seem to associate the amMoment.changeLocale('de'); to change the moment part, and I can't seem to update it with moment directly as well.
How can I achieve this?
The text was updated successfully, but these errors were encountered:
A little more information: changed it from config to run. Still the same behaviour.
Noticed a strange behaviour on my select: when I change language it catches the language code and moment does apply it, but it does not apply the specific configurations I set in run (wether they are updateLocale, defineLocale or just locale).
Forgot to mention I'm using moment-with-locales.min.js
I'm having issues configuring a locale change.
First, I'm setting the locale to english in my angular.module.config and immediately setting the relative time object as I need:
This works as intended,
Now I also have an equal object but for german. I don't know where to drop it because if I drop it in the config it overrides the english config.
Then I have a select dropdown in a header menu view with EN and DE (I'm already getting it to lower case for translations) in my controller and I can't seem to associate the
amMoment.changeLocale('de');
to change the moment part, and I can't seem to update it with moment directly as well.How can I achieve this?
The text was updated successfully, but these errors were encountered: