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/admin | |
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/admin')
-rw-r--r-- | pyaggr3g470r/templates/admin/user.html | 4 |
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 }}" /> |