9 messages in com.googlegroups.google-calendar-help-dataapiRe: ParseWhen() throws exception pars...
FromSent OnAttachments
rk20 Apr 2006 21:00 
rk20 Apr 2006 21:32 
Patrick Chanezon21 Apr 2006 02:30 
rk21 Apr 2006 05:44 
Kyle21 Apr 2006 05:50 
rk21 Apr 2006 06:02 
rk21 Apr 2006 06:16 
rk22 Apr 2006 04:40 
Kyle Marvin22 Apr 2006 07:15 
Subject:Re: ParseWhen() throws exception parsing "gd:when" - Feed bug?
From:rk (r.@leapbeyond.com)
Date:04/20/2006 09:32:54 PM
List:com.googlegroups.google-calendar-help-dataapi

More on this. The "funny-looking" date appears to show up for All Day events. For example, in the feed I posted, the event with title "Prog Event 24" spans from April 20th to the 22nd (at least when I view it in the calendar).

But in the XML feed, this is the gd:when element:

<gd:when startTime="2006-04-19-04:00" endTime="2006-04-22-04:00">

The startTime is off by a day, and I'm not sure it makes sense for the -04:00 timezone offset (at least I'm guessing that's what that is) to be there without a time component being listed.

Note that in the /basic feed, the dates show up properly:

When: 2006-04-20 to 2006-04-23 America/New_York

I can put a hack in the client side to reformat the date before it gets sent to DateTime.Parse, but I'm not sure how to fix the one-day offset that seems to occur for some appointments.

I'd be grateful if someone from Google could let me know if this is a bug in the feed generator, or if I'm doing something wrong.

Thanks,

Richard