Skip to content

Scheduling infrastructure for absolutely everyone.

Make sure all dayjs() plugins are there

Alex van Andeld407ba0fe7cf
diff --git a/lib/clock.ts b/lib/clock.ts
index 2b065cf4853..f082d9db1de 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 };