Dave
unread,Mar 5, 2008, 6:36:01 PM3/5/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Data APIs Objective-C Client Library Discussion
Years in -RFC3339String need to be 4 digits. I.e., this statement:
NSString *dateString = [NSString stringWithFormat:@"%d-%02d-%02d%@",
[dateComponents year], [dateComponents month], [dateComponents
day],
timeString];
needs to be changed to:
NSString *dateString = [NSString stringWithFormat:@"%04d-%02d-%02d
%@",
[dateComponents year], [dateComponents month], [dateComponents
day],
timeString];
I actually had a customer with an event in AD 950, and that caused the
following invalid request and error response:
<gd:when startTime="950-03-22T16:00:00-08:00"
endTime="950-03-22T17:00:00-08:00"></gd:when>
...
<batch:interrupted error="0" unprocessed="0" reason="[Line 1,
Column 692, element gd:when] Invalid date/time value." success="0"
parsed="0"></batch:interrupted>