Bug 169493 - Wrong time shown with calendar attachment because of timezone
Summary: Wrong time shown with calendar attachment because of timezone
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: calendar (show other bugs)
Version: 1.9.9
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-08-20 16:06 UTC by kavol
Modified: 2009-04-11 20:28 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 kavol 2008-08-20 16:06:05 UTC
Version:           1.9.9 (using KDE 3.5.9)
OS:                Linux
Installed from:    Fedora RPMs

Hi.

When I receive meeting invitation with multiple time zones defined, kmail shows me the time using the first time zone without displaying which zone it uses, for example for the following ics:

Content-Type: text/calendar; charset=utf-8; method=REPLY; name=meeting.ics
Content-Transfer-Encoding: 7bit

BEGIN:VCALENDAR
PRODID:Zimbra-Calendar-Provider
VERSION:2.0
METHOD:REPLY
BEGIN:VTIMEZONE
TZID:(GMT-05.00) Eastern Time (US & Canada)
BEGIN:STANDARD
DTSTART:19710101T020000
TZOFFSETTO:-0500
TZOFFSETFROM:-0400
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=11;BYDAY=1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19710101T020000
TZOFFSETTO:-0400
TZOFFSETFROM:-0500
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VTIMEZONE
TZID:(GMT+01.00) Belgrade / Bratislava / Budapest / Ljubljana / Prague
BEGIN:STANDARD
DTSTART:19710101T030000
TZOFFSETTO:+0100
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19710101T020000
TZOFFSETTO:+0200
TZOFFSETFROM:+0100
RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:7e2f545c-f2fe-43f2-852c-dc4bc6da0acd
SUMMARY:Accept: test
...
DTSTART;TZID="(GMT+01.00) Belgrade / Bratislava / Budapest / Ljubljana / Pra
 gue":20080821T160000
DTEND;TZID="(GMT+01.00) Belgrade / Bratislava / Budapest / Ljubljana / Pragu
 e":20080821T170000


kmail tells me that the event begins at "2008-08-21 22:00" and ends at "2008-08-21 23:00", which is obviously nonsense

I would prefer if kmail shows the local time (including DST) and indicates the time zone (of the local time) plus DST status, or at least when using non-local time if it shows UTC+x to get the time right.
Comment 1 Ruchir Brahmbhatt 2009-04-11 20:28:24 UTC
It shows correctly in my local timezone.