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
If I try to change two or three consecutive times (regardless of the time that passes between each click) the language (moment.updateLocale), the application remains frozen and the browser does not respond. I've also noticed that I can not get the amDateFormat format updated (amTimeAgo does). I tried to force the update of the change, but I can not make it work correctly.
Initially it is all in modules, but from the component "home.component" I get the same result, since it could be due to an incorrect injection of dependencies, or any other reason.
I've been looking at "issues" and searching through google, but I have not found anyone who happens to this.
Description of the Issue and Steps to Reproduce:
If I try to change two or three consecutive times (regardless of the time that passes between each click) the language (moment.updateLocale), the application remains frozen and the browser does not respond. I've also noticed that I can not get the amDateFormat format updated (amTimeAgo does). I tried to force the update of the change, but I can not make it work correctly.
Initially it is all in modules, but from the component "home.component" I get the same result, since it could be due to an incorrect injection of dependencies, or any other reason.
I've been looking at "issues" and searching through google, but I have not found anyone who happens to this.
Install this repository:
https://github.com/Hugoer/angular-seed/tree/feature/ngx-moment-bug-updatelocale
npm install
npm start
Did you search for duplicate issue? [No]
Ensure your issue is isolated to ngx-moment. Issues involving third party tools will be closed unless submitted by the tool's author/maintainer.
Environment:
windows 10
Please answer the following questions:
moment
version? 2.24.0moment-timezone
? NoThe text was updated successfully, but these errors were encountered: