timeMin fix (#5983)

Add an optional extended description…
This commit is contained in:
happyleavesaoc
2017-02-14 04:30:16 -05:00
committed by Paulus Schoutsen
parent 9bcc692ff2
commit b1eb3243bd

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