[Korganizer-devel] [Bug 151681] New: different timezones in one ical file are not recognised
Bart Geesink
bart at geesink.org
Thu Nov 1 10:07:42 CET 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=151681
Summary: different timezones in one ical file are not recognised
Product: korganizer
Version: unspecified
Platform: SuSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: korganizer-devel kde org
ReportedBy: bart geesink org
Version: (using KDE KDE 3.5.7)
Installed from: SuSE RPMs
OS: Linux
I tried to import a google ical calender file into Korganizer and I noticed that it fails to display the times correctly. The ical file itself has two timezones: The one where I used to live (GMT +1) and the one I am living now (GMT+7). The second one is not displayed correctly, but is 6 hours off. When I import the same ical file in Mozilla Sunbird it does display correctly. I guess korganizer does not know how to handle two timezones in a ical file. I looked inside the ical file and I see these two entries at the top:
X-WR-TIMEZONE:Asia/Phnom_Penh
BEGIN:VTIMEZONE
TZID:Europe/Amsterdam
X-LIC-LOCATION:Europe/Amsterdam
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VTIMEZONE
TZID:Asia/Phnom_Penh
X-LIC-LOCATION:Asia/Phnom_Penh
BEGIN:STANDARD
TZOFFSETFROM:+0700
TZOFFSETTO:+0700
TZNAME:ICT
DTSTART:19700101T000000
END:STANDARD
END:VTIMEZONE
Then this entry is displayed correctly (and is created by Korganizer). My timezone is set to Asia/Phnom_Penh, meaning that this entry is displayed at 19.00 + 7 hours = 0200
BEGIN:VEVENT
DTSTAMP:20071101T084145Z
ORGANIZER;CN=Bart Geesink:MAILTO:bart geesink org
CREATED:20071101T084121Z
UID:KOrganizer-1401005612.541
SEQUENCE:1
LAST-MODIFIED:20071101T084144Z
SUMMARY:test2
DTSTART:20071115T190000Z
DTEND:20071115T210000Z
TRANSP:OPAQUE
END:VEVENT
This one is not (created by google calender). It will be displayed 7 hours too late, meaning it does not recognize that it is planned in my own timezone.
BEGIN:VEVENT
DTSTART;TZID=Asia/Phnom_Penh:20071106T100000
DTEND;TZID=Asia/Phnom_Penh:20071106T130000
DTSTAMP:20071101T084425Z
UID:6lgr85ntjqfmqmp7p81c0tbh84 google com
CLASS:PRIVATE
CREATED:20071101T084334Z
LAST-MODIFIED:20071101T084334Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:test3
TRANSP:OPAQUE
END:VEVENT
More information about the Korganizer-devel
mailing list