|
@@ -5,9 +5,10 @@
|
|
|
* @description This is the internationalization module
|
|
|
*/
|
|
|
import Jed from 'jed';
|
|
|
-import dayjs from 'dayjs';
|
|
|
import log from "@converse/headless/log";
|
|
|
-import { _converse, api, i18n } from '@converse/headless/core';
|
|
|
+import { _converse, api, converse, i18n } from '@converse/headless/core';
|
|
|
+
|
|
|
+const { dayjs } = converse.env;
|
|
|
|
|
|
|
|
|
function detectLocale (library_check) {
|