[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Stuck in time zones
From: David Jarvie <lists () astrojar ! org ! uk>
Date: 2002-09-03 20:30:23
[Download RAW message or body]
On Tuesday 03 Sep 2002 2:01 pm, Best, Jan-Pascal van wrote:
> I'm stuck in timezones. I'm trying to read appointments off
> the exchange server by webdav properties, in order to avoid the
> mimelib debates on the kmail mailing list. This goes very
> well, except for the time zone handling. I get datetimes in
> ISO9601 format, which result in UTC times. How do I handle
> those so that they turn up allright in KOrganizer? I tried
> asking the calendar (a CalendarLocal in this case) what it
> wanted, but
> kdDebug() << "Calendar->getTimeZone(): " << mCalendar->getTimeZone()
> << endl;
> gives me sometimes 0, sometimes 393219, so that's not much use.
> The timeZoneId() is "Europe/Amsterdam", as it should, but how do
> I translate this into offsets to UTC?
My impression is that libkcal/libical does not yet handle time zone IDs as
opposed to numeric time offsets, even though there are some functions whose
names suggest that they might.
--
David Jarvie
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://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