From e2d1f51ec2a29e8998729ab1f3e9663b609db8c7 Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Fri, 9 May 2014 19:02:35 +0200 Subject: Correction du thème : gérer les locales des dates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Les archives sont affichées avec les dates sans utiliser la locale définie. --- themes/dev-urandom/templates/archives.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/dev-urandom/templates/archives.html b/themes/dev-urandom/templates/archives.html index 47bf2ab..b14ed65 100644 --- a/themes/dev-urandom/templates/archives.html +++ b/themes/dev-urandom/templates/archives.html @@ -8,7 +8,7 @@ {% for article in articles %} {% if loop.first or article.date.strftime('%Y %m') != articles[loop.index0-1].date.strftime('%Y %m') %}
-

{{ article.date.strftime('%B %Y') }}

+

{{ article.date|strftime('%B %Y') }}