[Korganizer-devel] [Bug 68345] KOrganizer ignores timezone when importing iCalendar events

Bob 420 at rubble.com
Mon Jun 18 12:33:09 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=68345         




------- Additional Comments From 420 rubble com  2007-06-18 12:33 -------
> The .ics files contain recurring events with a UTC time (timestamp ending on
> "Z"). Those and only those events are displayed in KOrganizer with the wrong
> time.

I can't believe this bug has existed for so long. It's clearly in the code that parses the DTSTART/DTEND strings. As the previous poster mentioned, it is ignoring trailing 'Z' designators, but it also seems to be ignoring TZID specifiers within DTSTART/DTEND strings.

I am in Hawaii and have Korganizer set to Pacific/Honolulu. I have an ics feed from Zimbra, and at the top of the file it specifies PST:

BEGIN:VCALENDAR
PRODID:Zimbra-Calendar-Provider
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:(GMT-08.00) Pacific Time (US & Canada)
. . .

but then some appointments are specified as UTC (from Outlook users):

DTSTART:20070619T190000Z
DTEND:20070620T030000Z
. . .

and others in Hawaiian Standard Time:

DTSTART;TZID="(GMT-10.00) Hawaii":20070621T143000
DTEND;TZID="(GMT-10.00) Hawaii":20070621T163000

KOrganizer seems to think everything needs to be converted to HST. That first appointment, which should be listed in my calendar at 09:00 (I am in HST and Korganizer is set to HST), is instead listed at 16:00 - it just took the time of  19:00 and subtracted 3, to get 16:00. And the second appointment, which should get listed as 14:30, instead gets listed at 11:30. Again, it ignored the fact that the appointment was already in HST, and it subtracted 3 hours from it.

After all this time?


More information about the Korganizer-devel mailing list