Make sure all dayjs() plugins are there
parent
a463fded8f
commit
d407ba0fe7
|
@ -1,5 +1,10 @@
|
||||||
// handles logic related to user clock display using 24h display / timeZone options.
|
// handles logic related to user clock display using 24h display / timeZone options.
|
||||||
import dayjs, {Dayjs} from 'dayjs';
|
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 };
|
interface TimeOptions { is24hClock: boolean, inviteeTimeZone: string };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue