From 1682e494567a4c315ea2072e9bd8498c35d904ae Mon Sep 17 00:00:00 2001 From: Andrey Dolzhikov Date: Tue, 3 Sep 2024 13:03:20 -0400 Subject: [PATCH] T1250739 --- .../scheduler/workspaces/view_model/m_view_data_generator.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/devextreme/js/__internal/scheduler/workspaces/view_model/m_view_data_generator.ts b/packages/devextreme/js/__internal/scheduler/workspaces/view_model/m_view_data_generator.ts index 6c72f7b1d59c..ba7b98429603 100644 --- a/packages/devextreme/js/__internal/scheduler/workspaces/view_model/m_view_data_generator.ts +++ b/packages/devextreme/js/__internal/scheduler/workspaces/view_model/m_view_data_generator.ts @@ -466,7 +466,9 @@ export class ViewDataGenerator { startViewDateTime + millisecondsOffset + offsetByCount + viewOffset, ); - const timeZoneDifference = isStartViewDateDuringDST + const isCurrentDateDuringDST = currentDate.getHours() !== Math.floor(startDayHour); + + const timeZoneDifference = isStartViewDateDuringDST || isCurrentDateDuringDST ? 0 : dateUtils.getTimezonesDifference(startViewDate, currentDate);