From 41f54933688e3b5bba0917bfee80851b9df26297 Mon Sep 17 00:00:00 2001 From: Santiago L Date: Thu, 17 Mar 2022 22:34:54 +0100 Subject: [PATCH] Format date using SHORT_DATE_FORMAT Support automatically i18n on date format --- musician/templates/musician/billing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/musician/templates/musician/billing.html b/musician/templates/musician/billing.html index e02c6b0..75f2580 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|date:"d/m/Y" }} + {{ bill.created_on|date:"SHORT_DATE_FORMAT" }} {{ bill.type }} {{ bill.total|floatformat:2|localize }}€