Skip to content

Commit 1a1185d

Browse files
authored
Scheduler - The 'date' parameter of the deleteRecurrence method cannot be a string (T1252887) (#28351)
1 parent 78539de commit 1a1185d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/devextreme/js/__internal/scheduler/m_scheduler.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2543,9 +2543,12 @@ class Scheduler extends Widget<any> {
25432543

25442544
deleteRecurrence(
25452545
appointment,
2546-
date,
2546+
date: Date | string,
25472547
recurrenceEditMode,
25482548
) {
2549+
if (typeof date === 'string') {
2550+
date = new Date(date);
2551+
}
25492552
this._checkRecurringAppointment(
25502553
appointment,
25512554
{ },

0 commit comments

Comments
 (0)