diff --git a/musician/templates/musician/billing.html b/musician/templates/musician/billing.html
index d3ba915..e02c6b0 100644
--- a/musician/templates/musician/billing.html
+++ b/musician/templates/musician/billing.html
@@ -27,7 +27,7 @@
{% for bill in object_list %}
{{ bill.number }} |
- {{ bill.created_on }} |
+ {{ bill.created_on|date:"d/m/Y" }} |
{{ bill.type }} |
{{ bill.total|floatformat:2|localize }}€ |
|
diff --git a/musician/views.py b/musician/views.py
index 3ab4265..ec3ac36 100644
--- a/musician/views.py
+++ b/musician/views.py
@@ -183,7 +183,7 @@ class BillingView(ServiceListView):
qs = super().get_queryset()
qs = sorted(qs, key=lambda x: x.created_on, reverse=True)
for q in qs:
- q.created_on = datetime.datetime.strptime(q.created_on, "%Y-%m-%d").strftime("%d/%m/%Y")
+ q.created_on = datetime.datetime.strptime(q.created_on, "%Y-%m-%d")
return qs