5 messages in com.googlegroups.google-calendar-help-dataapiRe: Bug: gd:when Element does not beh...
FromSent OnAttachments
Philipp Kewisch28 Sep 2006 03:44 
Frank Mantek28 Sep 2006 08:01 
Ryan Boyd (Google)24 Oct 2006 14:37 
Philipp Kewisch25 Oct 2006 10:34 
Ryan Boyd (Google)25 Oct 2006 16:51 
Subject:Re: Bug: gd:when Element does not behave as it should
From:Philipp Kewisch (kewi@gmail.com)
Date:10/25/2006 10:34:53 AM
List:com.googlegroups.google-calendar-help-dataapi

It looks like part of the Problem was solved. I can't reproduce the day shift anymore - very good!

When I create an event with <gd:when startTime='2006-09-02'/>, I get back <gd:when startTime='2006-09-02' endTime='2006-09-03'> (as expected), instead of <gd:when startTime='2006-09-01' endTime='2006-09-02'> (as you experienced).

The other part of the problem is, this is not consistent with your documentation. In http://code.google.com/apis/gdata/common-elements.html#gdWhen it is written that a one day event should be passed as

<gd:when startTime="2005-06-06"/>

Also, the docs say a two day event should be passed as

<gd:when startTime="2005-06-06" endTime="2005-06-07" valueString="This weekend"/>

So creating a one day event as you did returns a two day event? I think this should be consistant.

Thanks for you help, Philipp