aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/admin/user.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/admin/user.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/admin/user.html')
-rw-r--r--pyaggr3g470r/templates/admin/user.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html
index fb60d8b1..92b04b23 100644
--- a/pyaggr3g470r/templates/admin/user.html
+++ b/pyaggr3g470r/templates/admin/user.html
@@ -9,8 +9,8 @@
<h2>Membership</h2>
<div class="row">
<div class="col-md-6">
- <p>Member since {{ user.date_created.strftime('%A, %d %B %Y') }}.</p>
- <p>Last seen: {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p>
+ <p>Member since {{ user.date_created | datetime }}.</p>
+ <p>Last seen: {{ user.last_seen | datetime }}.</p>
</div>
<div class="col-md-6">
<img src="{{ user.email | gravatar }}" />
bgstack15