mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 20:22:53 +00:00
Fetch maximumEntries of current events (and all past events if
broadcastPastEvents is true)
This commit is contained in:
parent
d00c25e107
commit
b735cb96a0
@ -376,6 +376,7 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn
|
|||||||
return a.startDate - b.startDate;
|
return a.startDate - b.startDate;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const now = moment();
|
||||||
var entries = -1;
|
var entries = -1;
|
||||||
var pastEntries = 0;
|
var pastEntries = 0;
|
||||||
for (var ne of newEvents) {
|
for (var ne of newEvents) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user