Merge pull request #2079 from mohammadamer/patch-2

This commit is contained in:
Hugo Bernier 2021-10-31 14:01:30 -04:00 committed by GitHub
commit 2619097afb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -140,6 +140,7 @@ Version|Date|Comments
1.0.11|May 10, 2021|Optimized page refresh using local storage
1.0.12|June 21, 2021|Fixes overlap with Year-view and the comment section by adding a vertical scrollbar.
1.0.13|October 2, 2021|Fix to make sure Today is always visible and highlighted.
1.0.14|October 16, 2021|Resolve unhandled exception that happens clicking on recurrent events
## Minimal Path to Awesome

View File

@ -8,8 +8,8 @@
"longDescription": [
"This Web Part allows you to manage events in a calendar. Uses a list of existing calendars on any website. The location and name of the list and the dates of the events to be displayed are defined in the properties of the web part."
],
"creationDateTime": "2020-12-04",
"updateDateTime": "2021-10-02",
"created": "2020-12-04",
"modified": "2021-10-16",
"products": [
"SharePoint",
"Office"

View File

@ -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);
}