xsoh/moment-hijri

Simply including moment-hijri into the project sets global locale for moment to ar-sa

mklishevych opened this issue · 2 comments

Hi,

Thank you for this plugin.

I've noticed the issue described in the title. I believe it happens because of invoking the updateLocale method. If you see how it's implemented, you will notice that it sets the global locale.

https://github.com/moment/moment/blob/develop/src/lib/locale/locales.js#L143

I'm guessing this was never fixed?

@hafridi maintainer is not really responsive as you can see from the other PRs 🤷‍♂️