Make sure all dayjs() plugins are there

pull/292/head
Alex van Andel 2021-06-20 14:37:33 +00:00
parent a463fded8f
commit d407ba0fe7
1 changed files with 5 additions and 0 deletions

View File

@ -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 };