changd date format on orders view

This commit is contained in:
Levi 2017-06-21 13:24:38 -05:00
commit 339e20d0b7
3 changed files with 15 additions and 4 deletions

View file

@ -24,7 +24,7 @@
{% for order in orders %}
<tr>
<td scope="row">{{ order.id }}</td>
<td>{{ order.created_at }}</td>
<td>{{ order.created_at | date:"M d, Y" }}</td>
<td>{{ order.price }} CHF</td>
<td>{% if order.approved %}
<span class="text-success strong">{% trans "Approved"%}</span>