From 5414f9561eff90186dbca69adf8e799569dc6e22 Mon Sep 17 00:00:00 2001 From: Bengt Hagemeister Date: Tue, 26 Sep 2023 09:41:51 +0200 Subject: [PATCH] [@mantine/dates] Fix broken esm imports of dayjs plugins (#4875) --- src/mantine-dates/src/utils/get-timezone-offset.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mantine-dates/src/utils/get-timezone-offset.ts b/src/mantine-dates/src/utils/get-timezone-offset.ts index 4d6063f3131..fcc63d8ad11 100644 --- a/src/mantine-dates/src/utils/get-timezone-offset.ts +++ b/src/mantine-dates/src/utils/get-timezone-offset.ts @@ -1,6 +1,6 @@ import dayjs from 'dayjs'; -import utcPlugin from 'dayjs/plugin/utc'; -import timezonePlugin from 'dayjs/plugin/timezone'; +import utcPlugin from 'dayjs/plugin/utc.js'; +import timezonePlugin from 'dayjs/plugin/timezone.js'; dayjs.extend(utcPlugin); dayjs.extend(timezonePlugin);