[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] Korganizer and timezones (again)
From:       Shaheed <srhaque () iee ! org>
Date:       2003-11-28 0:13:28
[Download RAW message or body]

Hi.

I am running CVS head and I think that timezones are still a problem in 
Korganizer, at least when importing VCALENDARs from Exchange. For example, 
bug 68345 refers to a file which looks like this:

BEGIN:VCALENDAR
	METHOD:REQUEST
	PRODID:Microsoft CDO for Microsoft Exchange
	VERSION:2.0
	BEGIN:VTIMEZONE
		TZID:GMT -0800 (Standard) / GMT -0700 (Daylight)
		BEGIN:STANDARD
			DTSTART:16010101T020000
			TZOFFSETFROM:-0700
			TZOFFSETTO:-0800
			RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=-1SU
		END:STANDARD
		BEGIN:DAYLIGHT
			DTSTART:16010101T020000
			TZOFFSETFROM:-0800
			TZOFFSETTO:-0700
			RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=4;BYDAY=1SU
		END:DAYLIGHT
	END:VTIMEZONE
	BEGIN:VEVENT
		DTSTAMP:20031116T052056Z
		DTSTART;TZID="GMT -0800 (Standard) / GMT -0700 (Daylight)":20031110T100000
[snip]

As far as I can see, the problem is that the DTSTART value is not in UTC, but 
ICalFormatImpl::readICalDateTime() makes no attempt to use the timezone 
information that is present. 

And looking at ical itself, even the private code icalcomponent_convert_time() 
makes a completely bogus attempt to do the conversion (it uses the TZID 
string as a legitimate value for the TZ environment variable!).

Some serious reworking seems to be needed before there is any hope that this 
will work as expected...or did I miss something here?

Thanks, Shaheed

P.S. Please CC me as I'm not subscribed here.
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic