fixing times
This commit is contained in:
parent
6a895e489a
commit
1cf1bba356
@ -16,8 +16,8 @@
|
||||
<tr>
|
||||
<td><a href="{% url 'event' event.id %}">{{event.name}}</a></td>
|
||||
<td>{{event.responses}}</td>
|
||||
<td>{{event.start_date}}</td>
|
||||
<td>{{event.end_date}}</td>
|
||||
<td>{{event.start_date|date:"m/d/Y"}}</td>
|
||||
<td>{{event.end_date|date:"m/d/Y"}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
@ -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()])
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user