Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Special thanks to the following contributors: @10bias, @CFenner, @JHWelch, @k1rd
- Don't adjust startDate for full day events if endDate is in the past.
- Fix windspeed conversion error in openweathermap provider. (#2812)
- Fix conflicting parms turning off showEnd for full day events. (#2629)
- Fix regression, calendar.maximumEntries not used to filter calendar level entries (#2868)

## [2.18.0] - 2022-01-01

Expand Down
3 changes: 2 additions & 1 deletion modules/default/calendar/calendarutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,8 @@ const CalendarUtils = {
return a.startDate - b.startDate;
});

return newEvents;
let maxEvents = newEvents.slice(0, config.maximumEntries);
return maxEvents;
},

/**
Expand Down