From d407ba0fe7cfa3be828073dd46be7f993b6f0c57 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Sun, 20 Jun 2021 14:37:33 +0000 Subject: [PATCH] Make sure all dayjs() plugins are there --- lib/clock.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/clock.ts b/lib/clock.ts index 2b065cf485..f082d9db1d 100644 --- a/lib/clock.ts +++ b/lib/clock.ts @@ -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 };