From 28bcb305d5b05758dceeb7c7cd8ad65c7ec4b477 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 3 May 2014 10:38:40 +0200 Subject: Take into account the client time zone. --- pyaggr3g470r/templates/home.html | 4 ++-- pyaggr3g470r/templates/management.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pyaggr3g470r/templates') 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 %}

{% else %}

{% endif %} {{ feed.articles[n].title|safe }} {% if feed.articles[n].readed %}

{% else %}{% endif %} -
{{ feed.articles[n].date.strftime('%A, %d %B %Y') }}
+
{{ feed.articles[n].date | datetime }}
{% endfor %} @@ -36,7 +36,7 @@ {% if feed.articles[n].readed %}

{% else %}

{% endif %} {{ feed.articles[n].title|safe }} {% if feed.articles[n].readed %}

{% else %}{% endif %} -
{{ feed.articles[n].date.strftime('%A, %d %B %Y') }}
+
{{ feed.articles[n].date | datetime }}
{% endfor %} diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html index b37653c4..f68978b2 100644 --- a/pyaggr3g470r/templates/management.html +++ b/pyaggr3g470r/templates/management.html @@ -14,8 +14,8 @@

{{ _('Update your') }} {{ _('profile') }}.

-

{{ _('Member since') }} {{ user.date_created.strftime('%A, %d %B %Y') }}.

-

{{ _('Last seen:') }} {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.

+

{{ _('Member since') }} {{ user.date_created | datetime }}.

+

{{ _('Last seen:') }} {{ user.last_seen | datetime }}.

-- cgit