mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix crash in day calendar if there is no start time
This commit is contained in:
@@ -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
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user