From 56ba8c0a074488d29558ec67be28ab8985e9e7b2 Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Wed, 16 Aug 2023 13:35:31 +0530 Subject: [PATCH] fix: sucess page time (#10743) Signed-off-by: Udit Takkar Co-authored-by: Shivam Kalra --- apps/web/pages/booking/[uid].tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx index e7002ae6e4..80742b6e8f 100644 --- a/apps/web/pages/booking/[uid].tsx +++ b/apps/web/pages/booking/[uid].tsx @@ -113,7 +113,8 @@ export default function Success(props: SuccessProps) { const attendeeTimeZone = props?.bookingInfo?.attendees.find( (attendee) => attendee.email === email )?.timeZone; - const tz = isSuccessBookingPage && attendeeTimeZone ? attendeeTimeZone : props.tz ? props.tz : timeZone(); + + const tz = props.tz ? props.tz : isSuccessBookingPage && attendeeTimeZone ? attendeeTimeZone : timeZone(); const location = props.bookingInfo.location as ReturnType;