From 327720540413a3f258c684c5f9eccfa56e90757a Mon Sep 17 00:00:00 2001 From: Harshith Kumar <23210101999@uudoon.in> Date: Fri, 6 Mar 2026 21:00:24 +0530 Subject: [PATCH] fix: load dayjs utc plugin before timezone plugin (#28314) Day.js requires the 'utc' plugin to be loaded before the 'timezone' plugin to correctly apply timezone offsets during formatting. This fixes an issue where the Bookings Dashboard displayed UTC time but labeled it with the user's timezone. Fixes #28193 Co-authored-by: Harshith Kumar Co-authored-by: Romit <85230081+romitg2@users.noreply.github.com> --- packages/dayjs/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dayjs/index.ts b/packages/dayjs/index.ts index 6248cf3efc..799464b1e0 100644 --- a/packages/dayjs/index.ts +++ b/packages/dayjs/index.ts @@ -18,9 +18,9 @@ dayjs.extend(isBetween); dayjs.extend(isToday); dayjs.extend(localizedFormat); dayjs.extend(relativeTime); +dayjs.extend(utc); dayjs.extend(timeZone); dayjs.extend(toArray); -dayjs.extend(utc); dayjs.extend(minmax); dayjs.extend(duration);