Blank success page in January bookings (#1399)
* added 1 to UTC month conversion to make it 1 to 12 * with as numtypepull/1392/head^2
parent
bc46f4fbc4
commit
4be4a01968
|
@ -64,7 +64,7 @@ export default function Success(props: inferSSRProps<typeof getServerSideProps>)
|
||||||
const event = createEvent({
|
const event = createEvent({
|
||||||
start: [
|
start: [
|
||||||
date.toDate().getUTCFullYear(),
|
date.toDate().getUTCFullYear(),
|
||||||
date.toDate().getUTCMonth(),
|
(date.toDate().getUTCMonth() as number) + 1,
|
||||||
date.toDate().getUTCDate(),
|
date.toDate().getUTCDate(),
|
||||||
date.toDate().getUTCHours(),
|
date.toDate().getUTCHours(),
|
||||||
date.toDate().getUTCMinutes(),
|
date.toDate().getUTCMinutes(),
|
||||||
|
|
Loading…
Reference in New Issue