[Korganizer-devel] [Bug 157228] New: KOrganizer does not honor timezone specification in events

Diwaker Gupta diwaker.lists at gmail.com
Tue Feb 5 19:32:14 CET 2008


------- 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=157228         
           Summary: KOrganizer does not honor timezone specification in
                    events
           Product: korganizer
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: korganizer-devel kde org
        ReportedBy: diwaker.lists gmail com


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.


More information about the Korganizer-devel mailing list