Fetch maximumEntries of current events (and all past events if

broadcastPastEvents is true)
This commit is contained in:
Johan Alvinger 2020-11-25 21:59:58 +01:00
parent d00c25e107
commit b735cb96a0

View File

@ -376,6 +376,7 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn
return a.startDate - b.startDate;
});
const now = moment();
var entries = -1;
var pastEntries = 0;
for (var ne of newEvents) {