Skip to content

Scheduling infrastructure for absolutely everyone.

Blank success page in January bookings (#1399)

Syed Ali Shahbaz4be4a01968c9
diff --git a/pages/success.tsx b/pages/success.tsx
index d5028ed6fa4..dac92ce9e25 100644
--- a/pages/success.tsx
+++ b/pages/success.tsx
@@ -64,7 +64,7 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>)
const event = createEvent({
start: [
date.toDate().getUTCFullYear(),
- date.toDate().getUTCMonth(),
+ (date.toDate().getUTCMonth() as number) + 1,
date.toDate().getUTCDate(),
date.toDate().getUTCHours(),
date.toDate().getUTCMinutes(),