1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 14:51:19 +02:00

Move Day.js plugin types import to global typings (#2954)

This commit is contained in:
Lucas Henrique
2021-07-05 12:35:37 -03:00
committed by GitHub
parent 323b946a00
commit 0df8f92d05
2 changed files with 1 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ import Mithril from 'mithril';
// Other third-party libs // Other third-party libs
import * as _dayjs from 'dayjs'; import * as _dayjs from 'dayjs';
import 'dayjs/plugin/relativeTime';
import * as _$ from 'jquery'; import * as _$ from 'jquery';
// Globals from flarum/core // Globals from flarum/core

View File

@@ -1,5 +1,4 @@
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import 'dayjs/plugin/relativeTime';
/** /**
* The `humanTime` utility converts a date to a localized, human-readable time- * The `humanTime` utility converts a date to a localized, human-readable time-