aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-03 10:38:40 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-03 10:38:40 +0200
commit28bcb305d5b05758dceeb7c7cd8ad65c7ec4b477 (patch)
tree79d47c8ce7648f23e1ab9f2d12ceb68704fa5a4a /pyaggr3g470r/templates/home.html
parentRemoved unused variable. (diff)
downloadnewspipe-28bcb305d5b05758dceeb7c7cd8ad65c7ec4b477.tar.gz
newspipe-28bcb305d5b05758dceeb7c7cd8ad65c7ec4b477.tar.bz2
newspipe-28bcb305d5b05758dceeb7c7cd8ad65c7ec4b477.zip
Take into account the client time zone.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 43fdbb97..565614fe 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -24,7 +24,7 @@
{% if feed.articles[n].readed %}<h3>{% else %}<h1>{% endif %}
<a href="/article/{{ feed.articles[n].id }}">{{ feed.articles[n].title|safe }}</a>
{% if feed.articles[n].readed %}</h3>{% else %}</h1>{% endif %}
- <h6>{{ feed.articles[n].date.strftime('%A, %d %B %Y') }}</h6>
+ <h6>{{ feed.articles[n].date | datetime }}</h6>
</div>
{% endfor %}
</div>
@@ -36,7 +36,7 @@
{% if feed.articles[n].readed %}<h3>{% else %}<h1>{% endif %}
<a href="/article/{{ feed.articles[n].id }}">{{ feed.articles[n].title|safe }}</a>
{% if feed.articles[n].readed %}</h3>{% else %}</h1>{% endif %}
- <h6>{{ feed.articles[n].date.strftime('%A, %d %B %Y') }}</h6>
+ <h6>{{ feed.articles[n].date | datetime }}</h6>
</div>
{% endfor %}
</div>
bgstack15