fix date display

This commit is contained in:
sinavir 2023-03-08 02:43:32 +01:00
parent 637bc48a7b
commit 83f61a4c9e

View file

@ -55,7 +55,7 @@
<strong>Description:</strong> {{ budgetGroup.description.strip }}
</p>
{% endif %}
{% for line in all_lines.0|dictsort:"date" %}
{% for line in all_lines.0|dictsortreversed:"date" %}
{% if forloop.first %}
<table class="table">
<thead>
@ -72,7 +72,7 @@
<tbody>
{% endif %}
<tr id="tableline-{{ line.id }}">
<td>{{ line.date }}</td>
<td>{{ line.date|date:"Y-m-d" }}</td>
<td>{{ line.title }}</td>
<td>{{ line.amount }}€</td>
<td>{{ line.author.name }}</td>