DateInvalidTimezoneException when there is MS Teams appontment.ics
A message, which contains MS Teams Appointment.ics attachment with time zone FLE Standard Time cannot be open in Group Office 25 and php 8.3 It displays a dialog DateInvalidTimezoneException and doesn't show the message I would expect that it needs some kind of processing to convert Microsoft Timezone ID to IANA, or simply skip trying to parse this king of ics
If someone hits the same wall, I created a kind of a fix on mail server level. https://github.com/nit-bg/calendar-tzfix but i think the same processing can be implemented in group office code.
Patching these 2 files fixes the issue. Actually patching only the Scheduler.php fixes my issue, but I don't know the structure of the group office to be sure what to patch. See the lines 213-275 in the Scheduler.php
Wow nice going! Could you share an ics file that fails for testing?
Nice find with the IntlTimeZone::getIDForWindowsID() function. It would be even better if this is used in the Sabre Vobject library. Would you be interested in creating a pull request for that lib?