Hi all, I've written a program that synchronises events in a local database with the Google calendar. In order to find out whether an event was changed in Google I am checking whether the <updated> element in the XML for the event has been updated (and, if so, I update the event in the local database). This method was working fine, but it appears that occasionally all the events in a Google calendar receive a new <updated> value, which has lead to a couple of issues.
For example, the last time I used my Google calendar was on Feb 19th, and so the event XML was (e.g.): <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/ 2005/Atom"><id>http://www.google.com/calendar/feeds/xxx</ id><published>2011-02-10T02:52:40.000Z</ published><updated>2011-02-19T22:42:37.000Z</updated>..... But now all my events have an updated date/time of Feb 28th 04:47:22 (which is when I was on vacation and offline for several days!), e.g.: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/ 2005/Atom"><id>http://www.google.com/calendar/feeds/xxx</ id><published>2011-02-11T01:15:22.000Z</ published><updated>2011-02-28T04:47:22.000Z</updated> Has anyone else experienced anything like this, or does anyone have any ideas about what might cause it? Also, should I be using a different method of detecting whether events were updated using Google? Thanks in advance for any help, James -- 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://code.google.com/apis/calendar/community/forum.html
