I am looking for a PHP class that can parse an ICalendar file (ICS) and handle time zones correctly.
I have already created the ICS parser, but it can only process time zones known to PHP (for example, "Europe / Paris").
Unfortunately, the ICS file created by Evolution (the default calendar software for Ubuntu) does not use default time zone identifiers. It exports events with its specific time zone identifier, which also exports the full definition of the time zone: daylight saving time dates, recurrence rule, and all the hard things to understand about time zones.
This is too much for me. Since this was just a small utility for my girlfriend, I will not have time to further study the ICalendar specification and create a full-scale ICalendar analyzer.
So, is there any known implementation in PHP of the ICalendar file format that can analyze the definitions of time intervals?
timezone php parsing icalendar
Vincent robert
source share