David & Lane,

I just tried playing around with this a bit. What I discovered was
that when you specify the timezone, DON'T replace the "/" with a "_".
Then it works just fine!

-Jared

On Jul 20, 12:41 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi
> I made some tests :
> 1 - the parameters modifies the recurrence string too :
> No ctz :
> DTSTART;TZID=Europe/Paris:20070717T100000
> DTEND;TZID=Europe/Paris:20070717T110000
> RRULE:FREQ=DAILY;UNTIL=20070727T080000Z;WKST=MO
> [...](cut)
>
> with ctz=utc :
> DTSTART:20070717T080000Z
> DTEND:20070717T090000Z
> RRULE:FREQ=DAILY;WKST=MO;UNTIL=20070727T080000Z
>
> We can see the recurring string is more simple (I'm happy of this)
>
> 2 - ctz=America_Los_Angeles does not work ( I don't need, but I wanted
> to let You to know this)
> No ctz :
> <gd:when startTime="2007-07-16T10:00:00.000+02:00"
> endTime="2007-07-16T11:00:00.000+02:00"/>
> with ctz=utc :
> <gd:when startTime="2007-07-16T08:00:00.000Z"
> endTime="2007-07-16T09:00:00.000Z"/>
> with ctz=America_Los_Angeles
> <gd:when startTime="2007-07-16T10:00:00.000+02:00"
> endTime="2007-07-16T11:00:00.000+02:00"/> (WRONG)
> with ctz=Australia_Sydney
> <gd:when startTime="2007-07-16T10:00:00.000+02:00"
> endTime="2007-07-16T11:00:00.000+02:00"/> (WRONG)
>
> So, only UTC seems to work. (tested with private/composite and private/
> full feeds)
>
> Thanks for this good feature that will simplify the work of
> developpers (especially me !)
>
> David.
>
> On Jul 20, 4:57 pm, "Lane LiaBraaten (Google)"
>
> <[EMAIL PROTECTED]> wrote:
> > Hi All,
>
> > There have been a few requests for a parameter that will allow you to
> > specify the timezone that start and end times are returned in.  Well,
> > the wait is over :)
>
> > You can now use the 'ctz' parameter in your queries and events will be
> > returned in any timezone you want.  For example, to get events
> > returned with times relative to the America/Los_Angeles timezone use:
>
> >http://www.google.com/calendar/feeds/default/private/full?ctz=America...
>
> > A couple notes:
> >  - Be sure to replace the slash in the timezone string with an
> > underscore.
> >  - You can also specify 'ctz=utc' to return everything in UTC time.
> >  - This parameter isn't in the docs on code.google.com yet, but I'll
> > get it in there soon.
>
> > If you use this new feature please and have problems or praise, let me
> > know.
>
> > Happy coding,
> > Lane


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to