From 2c07b19bf963f8c7dd5f89b88ba7cf2a356b4d34 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelsalam Date: Mon, 8 Apr 2024 10:24:18 +0200 Subject: [PATCH] Fix: Pass missing timezone to DatePicker component Timezone prop for the DatePicker component was missing for the "Run Until" --- src/web/pages/schedules/dialog.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/web/pages/schedules/dialog.js b/src/web/pages/schedules/dialog.js index e0ac9b1850..8e6fed6ae2 100644 --- a/src/web/pages/schedules/dialog.js +++ b/src/web/pages/schedules/dialog.js @@ -141,10 +141,7 @@ class ScheduleDialog extends React.Component { const { duration, timezone = 'UTC', - startDate = date() - .tz(timezone) - .startOf('hour') - .add(1, 'hour'), + startDate = date().tz(timezone).startOf('hour').add(1, 'hour'), } = props; let {freq, interval = 1, weekdays, monthdays} = this.props; @@ -469,6 +466,7 @@ class ScheduleDialog extends React.Component {