[kronolith] Another (timezone?) issue when importing Google ical files
Jan Schneider
jan at horde.org
Thu Nov 28 10:01:32 UTC 2013
Zitat von Erik Quaeghebeur <horde at equaeghe.nospammail.net>:
> Hi,
>
>
> I would like to import my Google calendars. On the Google side, I
> have exported them to ical files. After importing them in Horde, I
> noticed that for recurring events the last repetition was not
> listed. I created the somewhat minimal example below; the last event
> in Google Calendar occurs on 19 december 2013, and in Kronolith on
> 12 december 2013.
>
> Could it be that Kronolith does not take into account the time zone
> of the event due to the absence of time zone info in the RRULE, or
> that the UNTIL is interpreted differently (UNTIL until the starting
> time not enough for Kronolith?). (I don't know what the behavior
> should be according to the standard.)
>
> BEGIN:VCALENDAR
> PRODID:-//Google Inc//Google Calendar 70.9054//EN
> VERSION:2.0
> CALSCALE:GREGORIAN
> METHOD:PUBLISH
> BEGIN:VTIMEZONE
> TZID:Europe/Amsterdam
> X-LIC-LOCATION:Europe/Amsterdam
> BEGIN:DAYLIGHT
> TZOFFSETFROM:+0100
> TZOFFSETTO:+0200
> TZNAME:CEST
> DTSTART:19700329T020000
> RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
> END:DAYLIGHT
> BEGIN:STANDARD
> TZOFFSETFROM:+0200
> TZOFFSETTO:+0100
> TZNAME:CET
> DTSTART:19701025T030000
> RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
> END:STANDARD
> END:VTIMEZONE
> BEGIN:VEVENT
> DTSTART;TZID=Europe/Amsterdam:20130919T134500
> DTEND;TZID=Europe/Amsterdam:20130919T154500
> RRULE:FREQ=WEEKLY;UNTIL=20131219T124500Z;BYDAY=TH
> EXDATE;TZID=Europe/Amsterdam:20130919T134500
> EXDATE;TZID=Europe/Amsterdam:20131114T134500
> DTSTAMP:20131118T121253Z
> UID:99oj4ualpa2v39m1ddk2798tf4 at google.com
> CREATED:20130915T122120Z
> DESCRIPTION:
> LAST-MODIFIED:20130915T122120Z
> LOCATION:TEST
> SEQUENCE:0
> STATUS:CONFIRMED
> SUMMARY:TEST
> TRANSP:OPAQUE
> END:VEVENT
> END:VCALENDAR
Google seems to be right, because if the UNTIL property matches
exactly a recurrence of DTSTART, this recurrence should be inclusive.
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
More information about the kronolith
mailing list