Skip to content

Commit

Permalink
Fix: Correct Maintenance Start/End Time Input to Use Explicitly Spec…
Browse files Browse the repository at this point in the history
…ified Timezone (#4186)
  • Loading branch information
Ritik0102 authored Dec 9, 2023
1 parent 777ef6b commit abc8f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/MaintenanceTime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
},
};
Expand Down

0 comments on commit abc8f2b

Please sign in to comment.