From fdadf3b1ad52d1bb065e25aab5e247e7d532aaa5 Mon Sep 17 00:00:00 2001 From: Hampus Toft <136370606+hato1883@users.noreply.github.com> Date: Wed, 6 Dec 2023 18:38:58 +0100 Subject: [PATCH] Forced date to be handeld with swedish format (#793) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Forced date to be handeld with swedish format * Fix build issue --------- Co-authored-by: Robin Dymér --- .../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 %}