Your event starts after 2009-10-01T00:00:00 UTC.

2008-09-30T18:30:00.000-07:00 in the Pacific Time Zone, is 2008-10-01T01:30:00

Ray


On Wed, Sep 24, 2008 at 11:41 AM, daedaus.development
<[EMAIL PROTECTED]> wrote:
>
> Thanks Ray.  I changed the start date and end date compilation
> accordingly.  So now my start date for Sept. is 2008-09-01T00:00:00,
> and my end date is 2008-09-30T23:59:59.  This still fails to retrieve
> the event on the 30th, which returns a start date of
> 2008-09-30T18:30:00.000-07:00.  However for October, when the start
> date is 2008-10-01T00:00:00 and the end date is 2008-10-31T23:59:59,
> this event is returned.
>
> Aaron
>
> On Sep 23, 6:02 pm, "Ray Baxter" <[EMAIL PROTECTED]> wrote:
>> 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 
[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
-~----------~----~----~----~------~----~------~--~---

Reply via email to