Skip to content

Commit fa2dc3a

Browse files
authored
Scheduler: remove exceptionDate from appointment settings (DevExpress#30804)
1 parent 7aa3c29 commit fa2dc3a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/devextreme/js/__internal/scheduler/view_model/generate_view_model/m_settings_generator.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ export class DateGeneratorBaseStrategy {
170170

171171
return {
172172
...item,
173-
// TODO: Check usages & delete this field.
174-
exceptionDate: new Date(item.startDate),
175173
};
176174
});
177175

@@ -238,8 +236,6 @@ export class DateGeneratorBaseStrategy {
238236
...item,
239237
startDate: newStartDate,
240238
endDate: newEndDate,
241-
// TODO: Check usages & delete this field.
242-
exceptionDate: new Date(newStartDate),
243239
};
244240
});
245241
}
@@ -321,7 +317,6 @@ export class DateGeneratorBaseStrategy {
321317
if (offsetDifference !== 0 && this._canProcessNotNativeTimezoneDates(appointmentAdapter)) {
322318
source.startDate = dateUtilsTs.addOffsets(source.startDate, [offsetDifference * toMs('minute')]);
323319
source.endDate = dateUtilsTs.addOffsets(source.endDate, [offsetDifference * toMs('minute')]);
324-
source.exceptionDate = new Date(source.startDate);
325320
}
326321

327322
const duration = source.endDate.getTime() - source.startDate.getTime();

0 commit comments

Comments
 (0)