Skip to content
Snippets Groups Projects
Commit 259a3470 authored by Julian's avatar Julian
Browse files

Supply datetimes as utc

parent 3d00d7ee
No related branches found
No related tags found
No related merge requests found
Pipeline #192197 failed
......@@ -157,8 +157,8 @@ export default {
return {
...item,
amends: this.selectedEvent.meta.id,
datetimeStart: this.selectedEvent.startDateTime.toUTC().toISO(),
datetimeEnd: this.selectedEvent.endDateTime.toUTC().toISO(),
datetimeStart: this.$toUTCISO(this.selectedEvent.startDateTime),
datetimeEnd: this.$toUTCISO(this.selectedEvent.endDateTime),
// Normalize cancelled, v-checkbox returns null & does not
// honor false-value.
cancelled: item.cancelled ? true : false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment