Closed spalberg closed 7 years ago
Thanks
Thanks for the fast response!
I removed the second event (no errors). The resulting file with the first event is still causing errors for me.
I tried opening via your constructor and the filepath:
$ical = new ICal\ICal($filePath, [
'defaultWeekStart' => 'MO',
]);
and also opening and splitting it myself and calling your constructor with the resulting string array:
$ical = new ICal\ICal(explode("\n", $icsString), [
'defaultWeekStart' => 'MO',
]);
Both ways result in the given error.
Just to be sure I checked the code of ICal.php against your current commit (07e775f): identical.
date_default_timezone_set('Europe/Berlin');
which appears to be your timezoneEdit: Found the "error". I am running php inside a docker container. I simply recreated the container (used it for a while) and your code runs without errors. I don't exactly know what caused the issue with my "used" container but something sure did... Sorry for taking up your time!
Hello again, first things first: this time I'm using the latest dev-master ;)
When I try to import a specific ics-file I get the following error:
The ics-file causing this issue:
Seems like the
DTSTART
andDTEND
keys are "dropped" since the actual datetime-string is in the following line.