lochmueller / calendarize

📆 Best TYPO3 Calendar ever 📆
http://typo3.org/extensions/repository/view/calendarize
74 stars 85 forks source link

Fix #645 - Catch unknown timezone in ICalDissect #646

Closed okmiim closed 2 years ago

okmiim commented 2 years ago

The Unknown or bad timezone exception in ICalDissect is now caught. This may cause some events to be parsed with the wrong timezone if the timezone is unknown (e.g. Microsoft timezone format).

Note: This only affected non-composer installations with ICalDissect. sabre/vobject is NOT affected.

Exception : DateTimeZone::__construct(): Unknown or bad timezone ("W. Europe Standard Time")
/Resources/Private/Php/ICalDissect/src/JMBTechnologyLimited/ICalDissect/ICalEvent.php:139
/Resources/Private/Php/ICalDissect/src/JMBTechnologyLimited/ICalDissect/ICalEvent.php:68
/Resources/Private/Php/ICalDissect/src/JMBTechnologyLimited/ICalDissect/ICalParser.php:88

Fixes #645

lochmueller commented 2 years ago

Hey @okmiim . Thanks for the quick fix for non-composer installations.