Change filter to include today's events

This commit is contained in:
Christopher Teutsch 2020-02-14 15:16:50 +01:00
parent ab72d2a812
commit 3d9835ba0b
Signed by: iwonder
GPG Key ID: 0EE33D788D50130D

View File

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