Bug 157228 - KOrganizer does not honor timezone specification in events
Summary: KOrganizer does not honor timezone specification in events
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-05 19:32 UTC by Diwaker Gupta
Modified: 2010-03-14 19:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diwaker Gupta 2008-02-05 19:32:12 UTC
Version:           3.5.6 (enterprise 0.20070907.709405) (using 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu3.3)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-14-generic

The timezone management in KOrganizer still leaves much to be desired. For a calendar app, proper timezone management is one of the most important features. Here is a simple example. KOrganizer renders this event fine (I'm only showing the relevant details):

BEGIN:VEVENT
DTSTART:20080109T200000Z
DTEND:20080109T210000Z
RRULE:FREQ=WEEKLY;UNTIL=20080326T190000Z;BYDAY=WE
DTSTAMP:20080204T222403Z
CREATED:20080107T074952Z
LAST-MODIFIED:20080107T074953Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Syslunch
END:VEVENT

Basically this is an hour long event occurring every wednesday at noon (PST). My time zone is set to America/Los_Angeles in both KControl and KOrganizer. Note that the time stamps used here have the Z suffix and this works fine. However, an alternate representation does not:

BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20080205T200000
DTEND;TZID=America/Los_Angeles:20080205T220000
RRULE:FREQ=WEEKLY;BYDAY=TU,TH;UNTIL=20080326T030000Z;WKST=MO
DTSTAMP:20080204T222403Z
CREATED:20080201T174139Z
LAST-MODIFIED:20080201T174216Z
STATUS:CONFIRMED
SUMMARY:Surtaal Practice
END:VEVENT

Note that this event uses the TZID specifier. This is described in the RFC. Basically KOrganizer completely ignores the timezone (America/Los_Angeles) specified in the entry. As a result even though the entry is valid, the events appear shifted in KOrganizer. Other programs (like Google Calendar) can render this fine.
Comment 1 Sergio Martins 2009-01-29 17:16:36 UTC
Can you retest in KDE-4.2?

New versions of libical respect TZID, I tested and it looked fine.

Comment 2 Sergio Martins 2010-03-14 19:04:19 UTC
Working in 4.4 and no feedback.