ICalendar parser in PHP that supports timezones
Posted
by Vincent Robert
on Stack Overflow
See other posts from Stack Overflow
or by Vincent Robert
Published on 2009-11-23T11:22:20Z
Indexed on
2010/05/14
22:14 UTC
Read the original article
Hit count: 317
I am looking for a PHP class that can parse an ICalendar (ICS) file and correctly handle timezones.
I already created an ICS parser myself but it can only handle timezones known to PHP (like 'Europe/Paris').
Unfortunately, ICS file generated by Evolution (default calendar software of Ubuntu) does not use default timezone IDs. It exports events with its a specific timezone ID exporting also the full definition of the timezone: daylight saving dates, recurrence rule and all the hard stuff to understand about timezones.
This is too much for me. Since it was only a small utility for my girlfriend, I won't have time to investigate further the ICalendar specification and create a full blown ICalendar parser myself.
So is there any known implementation in PHP of ICalendar file format that can parse timezones definitions?
© Stack Overflow or respective owner