Blank success page in January bookings (#1399)
* added 1 to UTC month conversion to make it 1 to 12 * with as numtype
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user