Bug 198721 - Events in a different timezone appear a day early
Summary: Events in a different timezone appear a day early
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.2.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-03 03:44 UTC by Jeremy Kerr
Modified: 2009-07-26 20:20 UTC (History)
1 user (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 Jeremy Kerr 2009-07-03 03:44:55 UTC
Version:            (using KDE 4.2.2)
Compiler:          gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 
OS:                Linux
Installed from:    Ubuntu Packages

If I accept an invite for an event that is scheduled in a different timezone, then the event appears one day early in my korganizer week view.

This also occurs if I manually import an ics file that describes an event.

In the email 'summary' of the event (ie, the pane in kmail that shows the event details before accepting the invite), the date is correct (and specified in the local timezone). If I open the event summary from korganizer nce I've added it, the details are correct (but specified in the remote timezone).

The following iCal fragment will reproduce the problem for me:

BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20090706T220000Z
DTEND:20090706T230000Z
DTSTAMP:20090703T002547Z
ORGANIZER;CN=Jeremy Kerr:mailto:jk@ozlabs.org
UID:0@pingu
CREATED:20090703T002546Z
DESCRIPTION:Test description
LOCATION:Test location
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Test event
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

Korganizer is configured with the 'Australia/Sydney' timezone, and my OS is configured with TZ=Australia/Canberra (both equivalent). At present, this is 10 hours ahead of UTC. The event above will display in the week view at 8am on the 6th of July, but should display at 8am on the 7th.

Unfortunately, I've called into a few meetings one day early, leading to much embarrassment on my part :D
Comment 1 Sergio Martins 2009-07-26 20:20:48 UTC
Fixed in rev 965588, included in 4.2.3