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='[EMAIL PROTECTED]' email='[EMAIL PROTECTED]' >
<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='[EMAIL PROTECTED]' email='[EMAIL PROTECTED]' >
<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/gqbtdi7un2v3ndva25o6231u28
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/gqbtdi7un2v3ndva25o6231u28</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>[EMAIL PROTECTED]</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='[EMAIL PROTECTED]'><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='[EMAIL PROTECTED]'><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.


--~--~---------~--~----~------------~-------~--~----~
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