Commit 3613b96e authored by Luko van der Maas's avatar Luko van der Maas
Browse files

Made the start date a naive when being sent to the admin overview page.

parent 99db59f1
......@@ -78,7 +78,7 @@ class EventAdmin(DoNextModelAdmin):
return super().has_change_permission(request, event)
def event_date(self, obj):
event_date = obj.start
event_date = timezone.make_naive(obj.start)
return _date(event_date, "l d b Y, G:i")
event_date.short_description = _('Event Date')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment