From 24ab8a4ce376e0dbe559ad303cfd91249b1b8e0a Mon Sep 17 00:00:00 2001 From: sbgap Date: Wed, 27 Nov 2024 09:21:43 +0100 Subject: [PATCH] fix: send utc time to backend when adding new on call --- src/components/OnCallList.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/OnCallList.vue b/src/components/OnCallList.vue index 5916aae4..8bef0882 100644 --- a/src/components/OnCallList.vue +++ b/src/components/OnCallList.vue @@ -749,7 +749,9 @@ export default { this.$store.dispatch( 'onCalls/createOnCall', Object.assign(this.editedItem, { - id: null + id: null, + startTime: this.fix_time(this.editedItem.startTime, true), + endTime: this.fix_time(this.editedItem.endTime, true), }) ) }