fix: booking day wrong in booking list (#12007)
Co-authored-by: CarinaWolli <wollencarina@gmail.com>pull/11421/merge
parent
19f52429b0
commit
051353e7f1
|
@ -226,6 +226,7 @@ function BookingListItem(booking: BookingItemProps) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const startTime = dayjs(booking.startTime)
|
const startTime = dayjs(booking.startTime)
|
||||||
|
.tz(user?.timeZone)
|
||||||
.locale(language)
|
.locale(language)
|
||||||
.format(isUpcoming ? "ddd, D MMM" : "D MMMM YYYY");
|
.format(isUpcoming ? "ddd, D MMM" : "D MMMM YYYY");
|
||||||
const [isOpenRescheduleDialog, setIsOpenRescheduleDialog] = useState(false);
|
const [isOpenRescheduleDialog, setIsOpenRescheduleDialog] = useState(false);
|
||||||
|
|
Loading…
Reference in New Issue