diff options
author | Audric Schiltknecht <storm@chemicalstorm.org> | 2014-05-09 19:02:35 +0200 |
---|---|---|
committer | Audric Schiltknecht <storm@chemicalstorm.org> | 2014-06-04 22:33:29 +0200 |
commit | e2d1f51ec2a29e8998729ab1f3e9663b609db8c7 (patch) | |
tree | 0c15730a50996765f4d9fe696b26b875e95b6474 /themes/dev-urandom | |
parent | 2aea453044b81153fa3f9d0bed70351b269e14f3 (diff) | |
download | schiltknecht.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.
Diffstat (limited to 'themes/dev-urandom')
-rw-r--r-- | themes/dev-urandom/templates/archives.html | 2 |
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 %} |