diff --git a/app/api/events/actions.ts b/app/api/events/actions.ts index e95ba8a..cbf0d34 100644 --- a/app/api/events/actions.ts +++ b/app/api/events/actions.ts @@ -18,8 +18,8 @@ export async function createEvent(formData: FormData) { slots: [ { id: `${id}-1`, - start, - end, + start: start + "Z", + end: end + "Z", locations: [location], } ] @@ -47,8 +47,8 @@ export async function modifyEvent(formData: FormData) { slots: [ { id: `${id}-1`, - start, - end, + start: start + "Z", + end: end + "Z", locations: [location], } ]