HACKER Q&A
📣 quickthrower2

Any rock solid ICal parsers?


I have tried a few JS based ICal parsers. I also see there are parsers in other languages like PHP, Swift, Java, etc.

The JS ones I have tried at least seem buggy, don't handle time zones well and/or don't handle recurrences correctly.

Is there a rock solid and well tested library (any language will do!)?

What do Google and Outlook use, or do they use their own proprietary tech?


  👤 pestatije Accepted Answer ✓
ICal - ICalendar Internet Calendaring and Scheduling Core Object Specification

https://en.wikipedia.org/wiki/ICalendar


👤 369548684892826
I've been using recurring-ical-events [0] (python) for a couple of years and never had a problem with recurring events. I haven't tested it with different timezones though.

0: https://pypi.org/project/recurring-ical-events/