Skip to content

Commit

Permalink
Issue #4066 Fix: Correct Maintenance Start/End Time Input to Use Expl…
Browse files Browse the repository at this point in the history
…icitly Specified Timezone
  • Loading branch information
Ritik0102 committed Dec 7, 2023
1 parent ad4629c commit b7ece16
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 b7ece16

Please sign in to comment.