Skip to content
Snippets Groups Projects
Verified Commit fdbc1b63 authored by Julian's avatar Julian Committed by Jonathan Weth
Browse files

Supply datetimes as utc

parent d08c63d2
No related branches found
No related tags found
1 merge request!361Resolve "Fix timezone handling with substitutions/amend dialog"
......@@ -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