aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/feed.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-03 11:10:15 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-03 11:10:15 +0200
commit6c3152d3dae65b79203986179e20f371e6d01781 (patch)
treeaa3b4e7f522b6da02995c927480280a182f32de4 /pyaggr3g470r/templates/feed.html
parentTake into account the client time zone. (diff)
downloadnewspipe-6c3152d3dae65b79203986179e20f371e6d01781.tar.gz
newspipe-6c3152d3dae65b79203986179e20f371e6d01781.tar.bz2
newspipe-6c3152d3dae65b79203986179e20f371e6d01781.zip
Using datetime filter in all templates.
Diffstat (limited to 'pyaggr3g470r/templates/feed.html')
-rw-r--r--pyaggr3g470r/templates/feed.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html
index 98e965e4..1caa6d13 100644
--- a/pyaggr3g470r/templates/feed.html
+++ b/pyaggr3g470r/templates/feed.html
@@ -21,7 +21,7 @@
<br />
{% if feed.articles.all()|count != 0 %}
{{ _('The last article was posted') }} {{ elapsed.days }} {{ _('day(s) ago.') }}<br />
- {{ _('Daily average') }}: {{ average }}, {{ _('between the') }} {{ first_post_date.strftime('%Y-%m-%d') }} {{ _('and the') }} {{ end_post_date.strftime('%Y-%m-%d') }}.
+ {{ _('Daily average') }}: {{ average }}, {{ _('between the') }} {{ first_post_date | datetime }} {{ _('and the') }} {{ end_post_date | datetime }}.
{% endif %}
</p>
</div>
bgstack15