// Add this to the shouldImportEvent method. // Filters out events that are less than 4 hours long. const millisecondsIn4Hours = 4 * 60 * 60 * 1000; if (new Date(event.end.dateTime) - new Date(event.start.dateTime) < millisecondsIn4Hours) { return false; }