Change RecurrenceID to Date type

Change RecurrenceID to Date type like SharePoint Standard functionality to solve the issue of deleting one occurrence of recurrent event
This commit is contained in:
mohammadamer 2021-03-18 18:00:18 +02:00 committed by GitHub
parent d7f623adbf
commit 4cecbce672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ export class Event extends React.Component<IEventProps, IEventState> {
}
else {
if (this.state.eventData.EventType == '1') { // recurrence exception
eventData.RecurrenceID = eventData.EventDate.toString();
eventData.RecurrenceID = eventData.EventDate;
eventData.MasterSeriesItemID = eventData.ID.toString();
eventData.EventType = "4";
eventData.fRecurrence = true;