Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.23.9 changes merge to master #4208

Merged
merged 12 commits into from
Dec 10, 2023
Prev Previous commit
Next Next commit
Fix: Correct Maintenance Start/End Time Input to Use Explicitly Spec…
…ified Timezone (#4186)
  • Loading branch information
Ritik0102 authored Dec 9, 2023
commit abc8f2b131fcf5b7d2929920657767b20158c5b2
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