Make sure all dayjs() plugins are there

This commit is contained in:
Alex van Andel 2021-06-20 14:37:33 +00:00
parent a463fded8f
commit d407ba0fe7

View file

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