I, I'm having the same problem with Date Range Query.

I want to get all events from 2008-04-01 until 2008-07-30, but I'm
getting all events from 2008?

My function:

function loadCalendar(calendarUrl) {
  var service = new
      google.gdata.calendar.CalendarService('gdata-js-client-samples-
simple');
  var query = new
google.gdata.calendar.CalendarEventQuery(calendarUrl);
  var startDateTime = new google.gdata.DateTime('2008-04-01');
  var endDateTime = new google.gdata.DateTime('2008-07-30');

  query.setOrderBy('starttime');
  query.setFutureEvents(true);
  query.setSortOrder('ascending');
  query.setMinimumStartTime('2008-04-01');
  query.setMaximumStartTime('2008-07-30');
  query.setFutureEvents(true);
  query.setSingleEvents(true);
  query.setMaxResults(50);

  service.getEventsFeed(query, listEvents, handleGDError);
}

--~--~---------~--~----~------------~-------~--~----~
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