diff --git a/core/js/dist/main.js b/core/js/dist/main.js index 5ecb00869014eb2363b53f4b7f285038dec90a3c..c391e44cfc5e160f332a2afcfb51aca9e411673b 100644 Binary files a/core/js/dist/main.js and b/core/js/dist/main.js differ diff --git a/core/src/init.js b/core/src/init.js index f0102fdde40328fe666e3fbf15ef41760b33f782..7fd04a65ac606abacf397b4907596f8a79452bad 100644 --- a/core/src/init.js +++ b/core/src/init.js @@ -98,15 +98,15 @@ const initLiveTimestamps = () => { }, 30 * 1000) } +/** + * Set users locale to moment.js as soon as possible + */ +moment.locale(OC.getLocale()) + /** * Initializes core */ export const initCore = () => { - /** - * Set users locale to moment.js as soon as possible - */ - moment.locale(OC.getLocale()) - const userAgent = window.navigator.userAgent const msie = userAgent.indexOf('MSIE ') const trident = userAgent.indexOf('Trident/')