forked from CGM_Public/pretix_original
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(
|
datetime.combine(
|
||||||
self.date,
|
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
|
for e in events
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user