[Kde-pim] Re: KCalCore::Calendar + adding time zones

David Jarvie djarvie at kde.org
Tue May 3 09:29:32 BST 2011


On Tue, May 3, 2011 7:58 am, Patrick Ohly wrote:
> Hello!
>
> One more question about time zones: suppose I have one calendar tied to
> a storage (never mind which one) and want to import an iCalendar 2.0
> VCALENDAR. I would do it
>      1. by parsing the VCALENDAR into a memory calendar
>      2. copying incidences
>      3. copying time zones
>
> But the last two steps are tricky. The TZID used by the copied
> incidences might conflict with a different time zone definition in the
> permanent calendar. For example, EST/EDT are used both in the US and in
> Australia. Another example are old (pre 2003) and new definitions of the
> US time zone definitions.
>
> I added a convenience function to libecal a while back to simplify the
> importing of events together with their time zone definitions. It checks
> for TZID conflicts and if they exist, renames the TZID consistently in
> the events and time zone definitions.
>
> Is there something similar in KCalCore?

No, but there probably should be.

-- 
David Jarvie.
KDE developer.
KAlarm author - http://www.astrojar.org.uk/kalarm

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list