diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-03 11:10:15 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-03 11:10:15 +0200 |
commit | 6c3152d3dae65b79203986179e20f371e6d01781 (patch) | |
tree | aa3b4e7f522b6da02995c927480280a182f32de4 /pyaggr3g470r/templates/feed.html | |
parent | Take into account the client time zone. (diff) | |
download | newspipe-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.html | 2 |
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> |