summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAudric Schiltknecht <storm@chemicalstorm.org>2014-05-09 19:02:35 +0200
committerAudric Schiltknecht <storm@chemicalstorm.org>2014-06-04 22:33:29 +0200
commite2d1f51ec2a29e8998729ab1f3e9663b609db8c7 (patch)
tree0c15730a50996765f4d9fe696b26b875e95b6474
parent2aea453044b81153fa3f9d0bed70351b269e14f3 (diff)
downloadschiltknecht.org-e2d1f51ec2a29e8998729ab1f3e9663b609db8c7.tar.gz
schiltknecht.org-e2d1f51ec2a29e8998729ab1f3e9663b609db8c7.tar.bz2
schiltknecht.org-e2d1f51ec2a29e8998729ab1f3e9663b609db8c7.zip
Correction du thème : gérer les locales des dates
Les archives sont affichées avec les dates sans utiliser la locale définie.
-rw-r--r--themes/dev-urandom/templates/archives.html2
1 files changed, 1 insertions, 1 deletions
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') %}
<dt>
- <h2>{{ article.date.strftime('%B %Y') }}</h2>
+ <h2>{{ article.date|strftime('%B %Y') }}</h2>
<ul>
{% endif %}