Fixed bug related to day-view
This commit is contained in:
parent
69d1041f98
commit
6c4eb5c220
1 changed files with 1 additions and 1 deletions
|
@ -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()):
|
||||||
|
|
Loading…
Reference in a new issue