-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser crashes on invalid timezone #116
Comments
Got a fix coming |
Hi
The EXDATE is not applied correctly in the latest master. I flipped all changes individually. This seems to be the one causing the issue. |
I have a calendar which uses timezone information with the TZID field
and
this makes the parser crash
RFC5545 is unclear what terms for TZID need to be supported. It states
The ICAL validator https://icalendar.org/validator.html also returns
As simple solution, I recommend to ignore the timezone information and issue a warning if the value for TZID cannot be parsed (i.e. put a try/except around the constructors for
new \DateTimeZone($eventTimeZone);
except whenself::DEFAULT_TIMEZONE
is used)The text was updated successfully, but these errors were encountered: