Bug 128458 - iCal invitations use GMT rather than local time
Summary: iCal invitations use GMT rather than local time
Status: RESOLVED NOT A BUG
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 3.5
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 20:17 UTC by Hugh Ranalli
Modified: 2011-03-12 12:45 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 Hugh Ranalli 2006-06-01 20:17:26 UTC
Version:           3.5 (using KDE KDE 3.5.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When I receive an iCal invite in an e-mail, although the e-mail shows both the local and UTC times, when I accept it in KMail, it is added to my calendar using the GMT time, rather than my local timezone.

I have reproduced this with invites from both Apple's iCal and Google Calendar. I have tried setting the Kontact timezone to UTC (actually Europe/London) as suggested in the comments in Bug 84229, with no effect. A sample iCal attachment which does this is:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20060601T183000Z
DTEND:20060601T193000Z
DTSTAMP:20060601T180447Z
ORGANIZER;CN=Foo Bar:MAILTO:foo@bar.com
UID:fe5jdcrf8s01qfcbd2cm25r7q4@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Foo Bar;X-NUM-GUESTS=0:MAILTO:foo@bar.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Bar Foo;X-NUM-GUESTS=0:MAILTO:bar@foo.com
CLASS:PRIVATE
CREATED:20060601T180049Z
DESCRIPTION:Appointment time is 2:30 PM to 3:30 PM EDT\nView your event at http:/
 /www.google.com/calendar/event?action=VIEW&eid=ZmU1amRjcmY4czAxZGZjYmwyY20y
 NXIycTQgaHVnaEByYW5hbGxtpK9yZw&tok=MjIjZGlzdHJpZnV0aAN03GdtYWlsLmNvbTJiNjE5
 OTI4MDBkYWExNDcwY2NmN2UxOTEyZjczODVkM2U5NmNlMzg&ctz=America%2FNew_York&lcl=
 en_US.
LAST-MODIFIED:20060601T180049Z
LOCATION:
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:KOrganizer Test from Google
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

Bug 84229 seemed to focus on Exchange, and this seems to be happening with other sources as well, hence this report.
Comment 1 Reinhold Kainhofer 2006-11-02 19:34:09 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 2 Sergio Martins 2011-03-12 12:45:10 UTC
The timezone that's present in the invitation is preserved.

DTSTART:20060601T183000Z
DTEND:20060601T193000Z

Z means UTC.

Kontact received an event with UTC time so it's added to the calendar as UTC.

In the view however you will see it in local timezone ( at least in KDE4! ).