From 566326bb4bc855d9c23b5e50c93fba676ba5b92b Mon Sep 17 00:00:00 2001 From: Hampus Toft Date: Tue, 28 Nov 2023 18:12:20 +0100 Subject: [PATCH] Forced date to be handeld with swedish format --- .../templates/involvement/open_positions.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/involvement/templates/involvement/open_positions.html b/src/involvement/templates/involvement/open_positions.html index b4b10147..ed149c3d 100644 --- a/src/involvement/templates/involvement/open_positions.html +++ b/src/involvement/templates/involvement/open_positions.html @@ -18,7 +18,10 @@

{% trans 'open positions'|title %}

{{ pos }}

- {% trans 'deadline'|capfirst %}: {{ pos.recruitment_end }} + {% trans 'deadline'|capfirst %}: + {% language 'sv' %} + {{ pos.recruitment_end|date:"SHORT_DATE_FORMAT" }} + {% endlanguage %}
@@ -31,7 +34,11 @@

{{ pos }}

{% trans 'apply' %}
-
{% trans 'deadline'|capfirst %}: {{ pos.recruitment_end|date:"SHORT_DATE_FORMAT" }}
+
+ {% trans 'deadline'|capfirst %}: + {% language 'sv' %} + {{ pos.recruitment_end|date:"SHORT_DATE_FORMAT" }} + {% endlanguage %}