Bug 121055 - Start/End times parsed wrong in VCalender files
Summary: Start/End times parsed wrong in VCalender files
Status: RESOLVED DUPLICATE of bug 68345
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-30 20:01 UTC by Jason Keirstead
Modified: 2007-02-19 18:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Picture of problem in KMail (10.90 KB, image/png)
2006-01-30 20:03 UTC, Jason Keirstead
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Keirstead 2006-01-30 20:01:06 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Ubuntu Packages

I have had this issude ever since KDE 3.4, but have never reported it because I assumed someday it would be fixed (I can't believe I am the only one experiencing it), but it has gotten icnreasingly annoying.

KMail / KOrganizer do not properly parse the timezone information in attached VCalendar files coming from Outlook/Exchange. As a result, any appointment where I click on "Accept" in KMail is off by my timezone's difference from GMT (4 hours).

I will attach a an example VCal file with the problem (incriminating fields have been removed!). In this file:

DTSTART;TZID="(GMT-04.00) Atlantic Time (Canada)":20060131T100000
DTEND;TZID="(GMT-04.00) Atlantic Time (Canada)":20060131T110000

As you can see, the timezone is specified in the field so those times are already local to my time zone. But when KMail parses it, it seems to think it is GMT, because it sets the times as being 2:00 PM to 3:00 PM instead of 10:AM to 11:AM.

BEGIN:VCALENDAR
	METHOD:REQUEST
	PRODID:Microsoft CDO for Microsoft Exchange
	VERSION:2.0
	BEGIN:VTIMEZONE
		TZID:(GMT-04.00) Atlantic Time (Canada)
		X-MICROSOFT-CDO-TZID:9
		BEGIN:STANDARD
			DTSTART:16010101T020000
			TZOFFSETFROM:-0300
			TZOFFSETTO:-0400
			RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
		END:STANDARD
		BEGIN:DAYLIGHT
			DTSTART:16010101T020000
			TZOFFSETFROM:-0400
			TZOFFSETTO:-0300
			RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=4;BYDAY=1SU
		END:DAYLIGHT
	END:VTIMEZONE
	BEGIN:VEVENT
		DTSTAMP:20060130T161036Z
		DTSTART;TZID="(GMT-04.00) Atlantic Time (Canada)":20060131T100000
		UID:040000008200E00074C5B7101A82E00800000000C088B62C9625C601000000000000000
		0100000005D65E72A1531554E8EA7EBB83AB4E0A7
		DTEND;TZID="(GMT-04.00) Atlantic Time (Canada)":20060131T110000
		SEQUENCE:0
		PRIORITY:5
		CLASS:
		CREATED:20060130T161035Z
		LAST-MODIFIED:20060130T161039Z
		STATUS:CONFIRMED
		TRANSP:OPAQUE
		X-MICROSOFT-CDO-BUSYSTATUS:BUSY
		X-MICROSOFT-CDO-INSTTYPE:0
		X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
		X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
		X-MICROSOFT-CDO-IMPORTANCE:1
		X-MICROSOFT-CDO-OWNERAPPTID:459151318
		BEGIN:VALARM
			ACTION:DISPLAY
			DESCRIPTION:REMINDER
			TRIGGER;RELATED=START:-PT00H15M00S
		END:VALARM
	END:VEVENT
END:VCALENDAR
Comment 1 Jason Keirstead 2006-01-30 20:03:42 UTC
Created attachment 14458 [details]
Picture of problem in KMail

Here is how KMail is parsing the time fields
Comment 2 Jason Keirstead 2006-03-16 15:47:17 UTC
I have figured out the problem here. If I set the timezone in KCalender, it works as expected.

Now the question is - why do I need to do this? WHy doesn't KCalender get the timezone from the OS/KDE ?
Comment 3 Reinhold Kainhofer 2006-11-02 19:02:07 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 4 Thomas McGuire 2007-02-19 18:21:49 UTC

*** This bug has been marked as a duplicate of 68345 ***