Hello, Note the following tethereal snapshot of the wire communication between ScheduleWorld and Google. It shows the <gd:when> element start/end time of an all-day event (setDateOnly == true).
<gd:when s 0450 74 61 72 74 54 69 6d 65 3d 27 32 30 30 36 2d 31 tartTime='2006-1 0460 32 2d 31 34 2b 30 31 3a 30 30 27 20 65 6e 64 54 2-14+01:00' endT 0470 69 6d 65 3d 27 32 30 30 36 2d 31 32 2d 31 35 2b ime='2006-12-15+ 0480 30 31 3a 30 30 27 3e 3c 67 64 3a 72 65 6d 69 6e 01:00'> The start time is on Dec 14, and the end time is Dec 15 (GMT +1/Berlin). However, Google renders this as an all-day event on Dec 13th - Dec 14th. The Atom returned also states that Google Calendar has incorrectly changed the date to the 13th: <gd:when st 0890 61 72 74 54 69 6d 65 3d 27 32 30 30 36 2d 31 32 artTime='2006-12 08a0 2d 31 33 27 20 65 6e 64 54 69 6d 65 3d 27 32 30 -13' endTime='20 08b0 30 36 2d 31 32 2d 31 34 27 3e 3c 67 64 3a 72 65 06-12-14'> This was hard to reproduce, because if I configure Google to be in the Canada/Eastern timezone it works fine: (Atom response from Google - all-day event was on Dec 15) (The request was the same) < 08a0 67 64 3a 77 68 65 6e 20 73 74 61 72 74 54 69 6d gd:when startTim 08b0 65 3d 27 32 30 30 36 2d 31 32 2d 31 35 54 30 30 e='2006-12-15T00 08c0 3a 30 30 3a 30 30 2e 30 30 30 2d 30 35 3a 30 30 :00:00.000-05:00 08d0 27 20 65 6e 64 54 69 6d 65 3d 27 32 30 30 36 2d ' endTime='2006- 08e0 31 32 2d 31 36 54 30 30 3a 30 30 3a 30 30 2e 30 12-16T00:00:00.0 08f0 30 30 2d 30 35 3a 30 30 27 3e 3c 67 64 3a 72 65 00-05:00'> So, in a nutshell it's impossible to properly create an all-day event. An ugly workaround is to specify setDateOnly == false. this works fine in any timezone, but all-day events take up the entire vertical space of the calendar. Cheers. -- http://www.ScheduleWorld.com/ Free Google Calendar synchronization with Outlook, Evolution, cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird, Pocket PC/Windows Mobile. Also sync tasks, notes and contacts! WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
