Update parseRecurrenceEvent.ts
Parsing EventDate and EndDate in case the event instance is an exception recurrent event which resolve unhandled exception that happens when end user clicks such events with unparsed date in the calendar view.
This commit is contained in:
parent
1911f8a5c8
commit
a69b3ef469
|
@ -369,6 +369,8 @@ export default class parseRecurrentEvent {
|
|||
}
|
||||
}
|
||||
if (e.fRecurrence === "1" && e.MasterSeriesItemID !== "") {
|
||||
e.EventDate = new Date(this.parseDate(e.EventDate, e.fAllDayEvent));
|
||||
e.EndDate = new Date(this.parseDate(e.EndDate, e.fAllDayEvent));
|
||||
const ni = this.cloneObj(e);
|
||||
er.push(ni);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue