diff options
Diffstat (limited to 'web/views.py')
-rw-r--r-- | web/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/views.py b/web/views.py index 0009739..7331b4d 100644 --- a/web/views.py +++ b/web/views.py @@ -16,8 +16,8 @@ def index(request): data = { 'id': active_event.id, 'name': active_event.name, - 'start_date': active_event.start_date, - 'end_date': active_event.end_date, + 'start_date': active_event.start_date.date(), + 'end_date': active_event.end_date.date(), 'responses': ', '.join([x.user.username for x in active_event.availability_set.all()]) } |