Disable logging.

This commit is contained in:
Michael Teeuw 2016-04-15 13:16:02 +02:00
parent 27a47d4e4a
commit e56c1a5853

View File

@ -100,20 +100,17 @@ var CalendarFetcher = function(url, reloadInterval, maximumEntries, maximumNumbe
var title = (typeof event.summary.val !== "undefined") ? event.summary.val : event.summary;
if (!fullDayEvent && endDate < new Date()) {
// it's not a fullday event, and it is in the past. So skip.
console.log("It's not a fullday event, and it is in the past. So skip: " + title);
//console.log("It's not a fullday event, and it is in the past. So skip: " + title);
continue;
}
if (fullDayEvent && endDate < today) {
// it's a fullday event, and it is before today. So skip.
console.log("It's a fullday event, and it is before today. So skip: " + title);
//console.log("It's a fullday event, and it is before today. So skip: " + title);
continue;
}
if (startDate > future) {
// it exceeds the maximumNumberOfDays limit. So skip
console.log("It exceeds the maximumNumberOfDays limit. So skip: " + title);
//console.log("It exceeds the maximumNumberOfDays limit. So skip: " + title);
continue;
}