diff options
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/util/formatter.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modern/src/common/util/formatter.js b/modern/src/common/util/formatter.js index 370542d1..aeacc145 100644 --- a/modern/src/common/util/formatter.js +++ b/modern/src/common/util/formatter.js @@ -1,5 +1,4 @@ import dayjs from 'dayjs'; -import 'dayjs/plugin/duration'; import duration from 'dayjs/plugin/duration'; import relativeTime from 'dayjs/plugin/relativeTime'; @@ -15,8 +14,8 @@ import { } from './converter'; import { prefixString } from './stringUtils'; -dayjs.extend(duration) -dayjs.extend(relativeTime) +dayjs.extend(duration); +dayjs.extend(relativeTime); export const formatBoolean = (value, t) => (value ? t('sharedYes') : t('sharedNo')); |