From f7bfab12c3a7c4a06d6ecf72029bf2615fd29356 Mon Sep 17 00:00:00 2001 From: Ritik Date: Thu, 7 Dec 2023 16:12:57 +0530 Subject: [PATCH] Issue #4066 Fix: Correct Maintenance Start/End Time Input to Use Explicitly Specified Timezone --- src/components/MaintenanceTime.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/MaintenanceTime.vue b/src/components/MaintenanceTime.vue index ba88555343..14d768434c 100644 --- a/src/components/MaintenanceTime.vue +++ b/src/components/MaintenanceTime.vue @@ -29,10 +29,10 @@ export default { }, computed: { startDateTime() { - return dayjs(this.maintenance.timeslotList[0].startDate).tz(this.maintenance.timezone).format(SQL_DATETIME_FORMAT_WITHOUT_SECOND); + return dayjs(this.maintenance.timeslotList[0].startDate).tz(this.maintenance.timezone, true).format(SQL_DATETIME_FORMAT_WITHOUT_SECOND); }, endDateTime() { - return dayjs(this.maintenance.timeslotList[0].endDate).tz(this.maintenance.timezone).format(SQL_DATETIME_FORMAT_WITHOUT_SECOND); + return dayjs(this.maintenance.timeslotList[0].endDate).tz(this.maintenance.timezone, true).format(SQL_DATETIME_FORMAT_WITHOUT_SECOND); } }, };