[OGo-Users] Sunbird, CalDAV, & Timezones [Was: ogo calendar on ipod]
Helge Hess
users@opengroupware.org
Sat, 12 May 2007 10:08:34 +0200
On May 11, 2007, at 18:35, Adam Tauno Williams wrote:
> I am confused as to what the "../20070129_1/..." portion of the
> timezone
> string signifies.
Sunbird embeds the definition of the timezone it uses in the posted
iCalendar file (like most clients). The name it uses is completely
arbitary from a specification point of view, its just a reference to
the contained definition.
However, most clients use a non-arbitary name but something sane
containing the real timezone (eg America/New_York).
Now the proper thing would be to parse and use the embedded timezone
definition (convert it into an NSTimeZone object). But this isn't
exactly trivial (well, maybe it isn't too hard).
So ZideStore is lazy and just tries to lookup the timezone by name ...
I think what would be useful is maintaining an alias map in a default
(mapping external iCal IDs to existing NSTimeZones).
Greets,
Helge
PS: in GroupDAV we require that events are transmitted in UTC, except
for recurrences which require a timezone.
--
Helge Hess
http://www.helgehess.eu/