Somehow the timezone definitions in my iCal data got corrupted. When I download a shared calendar from iCloud, it contains this spurious timezone definition:
BEGIN:VTIMEZONE TZID:Europe/… X-LIC-LOCATION:Europe/… BEGIN:STANDARD DTSTART:18500101T000000 RDATE;VALUE=DATE-TIME:18500101T000000 TZNAME:PMT TZOFFSETFROM:+5744 TZOFFSETTO:+5744 END:STANDARD BEGIN:STANDARD DTSTART:18911001T000000 RDATE;VALUE=DATE-TIME:18911001T000000 TZNAME:CEST TZOFFSETFROM:+5744 TZOFFSETTO:+0100 END:STANDARD …
The time zone offset of "+5744" is obviously invalid, and the library I use for parsing this information rightly complains about it. (I generate timesheets for my work from a calendar.)
I've fixed this in my local data, but that means I have to export the
.ics file manually to process it. Is there a way to either:
- Automate exporting an
.icscalendar from iCal? (I tried Automator and poking around the AppleScript dictionary for iCal but didn't find anything.)
- Upload the fixed timezone definitions to iCloud; or nuke all calendar data in iCloud and restore from exports?
I tried deleting just the shared calendar in iCal, and creating it from scratch, but the corruption remains - the time zone definitions don't seem to be tied to the calendar.
In case it's relevant, I have "time zone support" disabled in iCal.