logo       

Re: How do I add an event with named and defined time zone?: msg#00284

org.google.api.calendar

Subject: Re: How do I add an event with named and defined time zone?


I'm not too sure about the C# API, but I can give you this general
hint: gd:when elements have a startTime and endTime parameter that is a
rfc3339 date/time specification. To somewhat handle timezones, you need
to have the timezone offset. The time string is then something like
29-09-2006T17:56:34.000+02:00 where 02:00 is a timezone offset of UTC+2
hours. C# has a representation of these times, you probably can set
your timezone offset there.

I have a similar question regarding this topic: Is the timezone offset
the only way to find out which timezone the event is in? When I get
events from google it is hard for me to find out which timezone they
are in, since I only have an offset and there are a lot of timezones
with the same offset.

Now to a feature request: It would be nice if each event <entry> would
send a <gCal:timezone> telling the user which timezone this event is
in. Also the other way around, if I am modifying an event it would be
great to let me send a <gCal:timezone> so that this timezone can be
saved and handled properly.

This may especially be an issue of daylight savings time. Im not sure
if there are some timezones that have the same offset in dst and
different offsets in non-dst?


Philipp




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise