Make sure all dayjs() plugins are there
This commit is contained in:
parent
a463fded8f
commit
d407ba0fe7
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
// handles logic related to user clock display using 24h display / timeZone options.
|
||||
import dayjs, {Dayjs} from 'dayjs';
|
||||
import utc from 'dayjs/plugin/utc';
|
||||
import timezone from 'dayjs/plugin/timezone';
|
||||
|
||||
dayjs.extend(utc)
|
||||
dayjs.extend(timezone)
|
||||
|
||||
interface TimeOptions { is24hClock: boolean, inviteeTimeZone: string };
|
||||
|
||||
|
|
Loading…
Reference in a new issue