Prevent display of events in the past. #162

This commit is contained in:
Michael Teeuw
2016-04-23 17:40:44 +02:00
parent 4248ae7792
commit bd9557b11e
2 changed files with 4 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ var CalendarFetcher = function(url, reloadInterval, maximumEntries, maximumNumbe
continue;
}
if (fullDayEvent && endDate < today) {
if (fullDayEvent && endDate <= today) {
//console.log("It's a fullday event, and it is before today. So skip: " + title);
continue;
}