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

List:       kde-pim
Subject:    RE: [Kde-pim] Timezones and resources
From:       "Best, Jan-Pascal van" <j.p.vanbest () tbm ! tudelft ! nl>
Date:       2003-11-28 14:28:05
[Download RAW message or body]

> The resource itself shouldn't have a time zone. It should 
> know in which tz the 
> times are stored, which is usually UTC, though. For example, the 
> CalendarLocal saves all times to the ics file in UTC (using the 
> 20030526T072406Z format) to make things portable, regardless 
> of the tz 
> settings (that's also what rfc 2445 says). When loading, all 
> these times have 
> to be converted to the desired time zone (most likely local 
> time, but you're 
> free to set any time zone in korganizer). That's why I had to add the 
> setTimeZoneId function, otherwise the CalendarResources would 
> have always 
> been in UTC (e.g. an event at noon in korganizer would have 
> been interpreted 
> at 12:00 UTC, not at 12:00 in the timezone that korg used), 
> so importing the 
> ics file to any other calendaring app would have resulted in 
> a wrong shift of 
> all events.

Thanks for the explanation. What should happen when the user 
changes the time zone while a calendar is loaded? Shouldn't all
Event objects in all resources then be updated for the new time 
zone? This doesn't happen now..

Jan-Pascal

_______________________________________________
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