From 83f61a4c9eab2fc6753f78737b1e659680b6da01 Mon Sep 17 00:00:00 2001
From: sinavir
Date: Wed, 8 Mar 2023 02:43:32 +0100
Subject: [PATCH] fix date display
---
hackens_orga/frontend/templates/frontend/budget_list.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hackens_orga/frontend/templates/frontend/budget_list.html b/hackens_orga/frontend/templates/frontend/budget_list.html
index 3ec87ad..f5bf808 100644
--- a/hackens_orga/frontend/templates/frontend/budget_list.html
+++ b/hackens_orga/frontend/templates/frontend/budget_list.html
@@ -55,7 +55,7 @@
Description: {{ budgetGroup.description.strip }}
{% endif %}
- {% for line in all_lines.0|dictsort:"date" %}
+ {% for line in all_lines.0|dictsortreversed:"date" %}
{% if forloop.first %}
@@ -72,7 +72,7 @@
{% endif %}
- {{ line.date }} |
+ {{ line.date|date:"Y-m-d" }} |
{{ line.title }} |
{{ line.amount }}€ |
{{ line.author.name }} |