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 <mharshithkumar6@gmail.com> Co-authored-by: Romit <85230081+romitg2@users.noreply.github.com>
This commit is contained in:
co-authored by
Harshith Kumar
Romit
parent
d630556dae
commit
3277205404
@@ -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