When you pass a date without a time ('2008-09-20') a time of midnight
is assumed. Effectively you are querying for all events in the range
from  2008-09-01T00:00:00 to 2008-09-30T00:00:00. This range does not
include you September event which starts after the range.

Ray

On Tue, Sep 23, 2008 at 11:43 AM, daedaus.development
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Fetching our events from our Google calendar with the API via the Zend
> PHP library has worked great for quite a while, but I've run up
> against a bug that's got me stumped.  Here's my call to the API:
>
> $gdataCal = new Zend_Gdata_Calendar();
> $query = $gdataCal->newEventQuery();
> $query->setUser('[EMAIL PROTECTED]');
> $query->setVisibility('private-xxxetc');
> $query->setProjection('full');
> $query->setOrderby('starttime');
> $query->setStartMin($startDate);
> $query->setStartMax($endDate);
> $query->setMaxResults(100);
> $generalFeed = $gdataCal->getCalendarEventFeed($query);
>
> The problem is that we have a plain old vanilla event on Sept. 30 (no
> repeating or anything out of the ordinary) that doesn't get returned
> with this call when $startDate is '2008-09-01' and $endDate is
> '2008-09-30'.  What's strange is that the event IS returned for
> October 30 when the start date is 2008-10-01 and the end date is
> 2008-10-31.
>
> Does this ring any bells for anyone?
>
> Thanks,
>
> Aaron
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
google-calendar-help-dataapi@googlegroups.com
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