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 <[email protected]>
Co-authored-by: Romit <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-03-06 21:00:24 +05:30
1 parent d630556dae
commit 3277205404
1 file changed
+1 -1
+1 -1
View File
@@ -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);