Switch to cccd_all.ics to avoid missing events for the current day
This commit is contained in:
parent
c635a68d79
commit
a55992a7f0
@ -53,7 +53,7 @@ $state = $hash_to_state[$hash];
|
|||||||
'defaultWeekStart' => 'MO',
|
'defaultWeekStart' => 'MO',
|
||||||
'filterDaysBefore' => '1',
|
'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');
|
$events = $ical->eventsFromInterval('2 week');
|
||||||
$first_event = $events[0];
|
$first_event = $events[0];
|
||||||
$events = array_slice($events, 1);
|
$events = array_slice($events, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user