Skip to content

Commit

Permalink
fixed datetime bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasJoKuJonas committed Sep 11, 2023
1 parent 4022c4b commit bcc52c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/webuntis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ def _get_events_in_timerange(
return events

def _count_lessons(self, start, end, filter_on, count_cancelled=False):
table = self.get_timetable(start=start.date(), end=end)
table = self.get_timetable(start=start.date(), end=end.date())

result = {}

Expand Down

0 comments on commit bcc52c4

Please sign in to comment.