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:
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user