Switch to cccd_all.ics to avoid missing events for the current day

This commit is contained in:
Christopher Teutsch 2020-02-21 14:57:44 +01:00
parent c635a68d79
commit a55992a7f0
Signed by: iwonder
GPG Key ID: 0EE33D788D50130D

View File

@ -53,7 +53,7 @@ $state = $hash_to_state[$hash];
'defaultWeekStart' => 'MO',
'filterDaysBefore' => '1',
));
$ical->initUrl('https://chaosdorf.de/~derf/cccd.ics', $acceptLanguage = 'de');
$ical->initUrl('https://chaosdorf.de/~derf/cccd_all.ics', $acceptLanguage = 'de');
$events = $ical->eventsFromInterval('2 week');
$first_event = $events[0];
$events = array_slice($events, 1);