Fix crash in day calendar if there is no start time

This commit is contained in:
Raphael Michel
2021-11-19 16:32:07 +01:00
parent 492288f437
commit 29cf384c28

View File

@@ -947,7 +947,7 @@ class DayCalendarView(OrganizerViewMixin, EventListMixin, TemplateView):
-
datetime.combine(
self.date,
time(0, 0) if e['continued'] else e['time']
time(0, 0) if e['continued'] else (e['time'] or time(0, 0))
)
for e in events
]