From 6c4eb5c220adad205b44617380252e8844966612 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 29 Apr 2019 18:08:53 +0200 Subject: [PATCH] Fixed bug related to day-view --- Calendar/CalendarInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Calendar/CalendarInterface.py b/Calendar/CalendarInterface.py index bec8f2f..02df8d7 100644 --- a/Calendar/CalendarInterface.py +++ b/Calendar/CalendarInterface.py @@ -37,7 +37,7 @@ class CalendarInterface (DataSourceInterface): return self.__get_events_in_range__(start_time, timespan) def get_today_events (self): - return self.get_day_events(datetime.today()) + return self.get_day_events(date.today()) def get_day_events (self, day): if type(day) is not type(date.today()):