timeMin fix (#5983)

Add an optional extended description…
This commit is contained in:
happyleavesaoc 2017-02-14 04:30:16 -05:00 committed by Pascal Vizeli
parent 39ca1a5a0d
commit 1bdd8e235a
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class GoogleCalendarData(object):
"""Get the latest data."""
service = self.calendar_service.get()
params = dict(DEFAULT_GOOGLE_SEARCH_PARAMS)
params['timeMin'] = dt.start_of_local_day().isoformat('T')
params['timeMin'] = dt.now().isoformat('T')
params['calendarId'] = self.calendar_id
if self.search:
params['q'] = self.search