3 messages in com.googlegroups.google-calendar-help-dataapiRe: Adding a new recurrent event resu...
FromSent OnAttachments
alex...@gmail.com22 May 2007 02:40 
Lane LiaBraaten (Google)22 May 2007 21:13 
Matt (GooSync)23 May 2007 02:20 
Subject:Re: Adding a new recurrent event results in erroneous shifted event time!
From:Lane LiaBraaten (Google) (api.@gmail.com)
Date:05/22/2007 09:13:28 PM
List:com.googlegroups.google-calendar-help-dataapi

Hi Alex,

This looks like it is caused by an "off by one" bug in the current release of the Google Calendar service. The issue has been addressed and the fix will be available in the next release, but I don't have an ETA for the next release.

I'll keep you posted, Lane

On May 22, 2:40 am, "alex@gmail.com" <puta@gmail.com> wrote:

When adding a new recurrent event using the Calendar API, the result is an event with the start and end time shifted. When updating the event to correct time values, it seems this new data is ignored and the already shifted time shi shifted down once again. Here is the xml request to add an event:

<?xml version="1.0" encoding="utf-8"?> <entry xmlns="http://www.w3.org/2005/Atom" xmlns:gd="http:// schemas.google.com/g/2005"> <gd:recurrence>DTSTART;TZID=Europe/Chisinau:20070122T150233 DTEND;TZID=Europe/Chisinau:20070122T160544 RRULE:FREQ=DAILY </gd:recurrence><gd:where valueString="fsdfasdf" /> <gd:visibility value="http://schemas.google.com/g/2005#event.default" /

<title type="text">DDDDDDD</title> <category term="http://schemas.google.com/g/2005#event" scheme="http:// schemas.google.com/g/2005" /> <content type="text" >asdfsdfxxcvvzz</content> <gd:who rel='http://schemas.google.com/g/2005#event.attendee' valueString='vas@gmail.com' email='vas@gmail.com' > <gd:attendeeStatus value='http://schemas.google.com/g/ 2005#event.invited' ></gd:attendeeStatus> </gd:who> <gd:who rel='http://schemas.google.com/g/2005#event.organizer' valueString='puta@gmail.com' email='puta@gmail.com' > <gd:attendeeStatus value='http://schemas.google.com/g/ 2005#event.accepted' ></gd:attendeeStatus> </gd:who> </entry>

And this is the answer from google:

HTTP/1.1 201 Created Content-Type: application/atom+xml; charset=UTF-8 Location:http://www.google.com/calendar/feeds/putalau%40gmail.com/private/full... Transfer-Encoding: chunked Cache-control: private Date: Tue, 22 May 2007 09:17:28 GMT Server: GFE/1.3

<?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/ 2005/Atom' xmlns:gd='http://schemas.google.com/g/2005' xmlns:gCal='http://schemas.google.com/gCal/2005'><id>http://www.google.com/calendar/feeds/putalau%40gmail.com/private/full/gqbtdi...</id><published>2007-05-22T09:17:28.000Z</published><updated>2007-05-22T09:17:28.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind'term='http:// schemas.google.com/g/2005#event'></category><category scheme='http:// schemas.google.com/g/2005' term='http://schemas.google.com/g/ 2005#event'></category><title type='text'>DDDDDDD</title><content type='text'>asdfsdfxxcvvzz</content><link rel='alternate' type='text/ html' href='http://www.google.com/calendar/event? eid=Z3FidGRpN3VuMnYzbmR2YTI1bzYyMzF1MjhfMjAwNzAxMjJUMTIwMjMzWiBwdXRhbGF1QG0' title='alternate'></link><link rel='self' type='application/atom+xml' href='http://www.google.com/calendar/feeds/putalau%40gmail.com/private/ full/gqbtdi7un2v3ndva25o6231u28'></link><link rel='edit' type='application/atom+xml' href='http://www.google.com/calendar/feeds/ putalau%40gmail.com/private/full/ gqbtdi7un2v3ndva25o6231u28/63315508648'></link><author><name>Ionel Vasilica</name><email>puta@gmail.com</email></ author><gd:recurrence>DTSTART;TZID=Europe/Chisinau:20070122T140233 DTEND;TZID=Europe/Chisinau:20070122T150544 RRULE:FREQ=DAILY BEGIN:VTIMEZONE TZID:Europe/Chisinau X-LIC-LOCATION:Europe/Chisinau BEGIN:DAYLIGHT TZOFFSETFROM:+0200 TZOFFSETTO:+0300 TZNAME:EEST DTSTART:19700329T030000 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0300 TZOFFSETTO:+0200 TZNAME:EET DTSTART:19701025T040000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU END:STANDARD END:VTIMEZONE </gd:recurrence><gd:eventStatus value='http://schemas.google.com/g/ 2005#event.confirmed'></gd:eventStatus><gd:visibility value='http:// schemas.google.com/g/2005#event.default'></ gd:visibility><gd:transparency value='http://schemas.google.com/g/ 2005#event.opaque'></gd:transparency><gCal:sendEventNotifications value='false'></gCal:sendEventNotifications><gd:who rel='http:// schemas.google.com/g/2005#event.organizer' valueString='Ionel Vasilica' email='puta@gmail.com'><gd:attendeeStatus value='http:// schemas.google.com/g/2005#event.accepted'></gd:attendeeStatus></ gd:who><gd:who rel='http://schemas.google.com/g/2005#event.attendee' valueString='No name No name' email='vas@gmail.com'><gd:attendeeStatus value='http:// schemas.google.com/g/2005#event.invited'></gd:attendeeStatus></ gd:who><gd:where valueString='fsdfasdf'></gd:where></entry>

As you can see, the DTSTART;TZID=Europe/Chisinau:20070122T140233 is shifted one hour down. So is the DTEND too. Is there something missing in the request or malformed that causes this behavior ? Thanks.