diff options
author | Dominic DiTaranto <domdit@gmail.com> | 2024-10-29 12:22:12 -0400 |
---|---|---|
committer | Dominic DiTaranto <domdit@gmail.com> | 2024-10-29 12:22:12 -0400 |
commit | 1cf1bba356ee6f741089a4d63344f718d74acc2f (patch) | |
tree | 71b0529c1b8dd618242e9656f3b1c01dc39c13dc /web/views.py | |
parent | 6a895e489a4a5eb74085b7980f293d7a24c92c92 (diff) |
fixing times
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()]) } |