Commit 0c67d211 authored by JC Brand's avatar JC Brand

Bugfix. Just return locale string id.

parent 346a2552
......@@ -286,7 +286,7 @@
if (window.navigator.systemLanguage && !locale) {
locale = this.isLocaleAvailable(window.navigator.systemLanguage, library_check);
}
return locale || locales.en;
return locale || 'en';
};
if (!moment.locale) { //moment.lang is deprecated after 2.8.1, use moment.locale instead
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment