Fixed bug related to day-view

This commit is contained in:
Maximilian Giller 2019-04-29 18:08:53 +02:00
parent 69d1041f98
commit 6c4eb5c220

View file

@ -37,7 +37,7 @@ class CalendarInterface (DataSourceInterface):
return self.__get_events_in_range__(start_time, timespan) return self.__get_events_in_range__(start_time, timespan)
def get_today_events (self): 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): def get_day_events (self, day):
if type(day) is not type(date.today()): if type(day) is not type(date.today()):