aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2014-01-31 09:53:54 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2014-01-31 09:53:54 +0100
commit6839f4efb647712eef1dfa98ec1e86aedd356027 (patch)
tree7301d25ee53dc48f8cec26e3e5fa897b88710e57
parentUpdated /search template. (diff)
downloadnewspipe-6839f4efb647712eef1dfa98ec1e86aedd356027.tar.gz
newspipe-6839f4efb647712eef1dfa98ec1e86aedd356027.tar.bz2
newspipe-6839f4efb647712eef1dfa98ec1e86aedd356027.zip
Test with another time format (only for the home page).
-rw-r--r--pyaggr3g470r/templates/home.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index ad6eb426..9ea8c01a 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -23,7 +23,7 @@
{% if feed.articles[n].readed %}<h3>{% else %}<h1>{% endif %}
<a href="/article/{{ feed.articles[n].id }}">{{ feed.articles[n].title|safe }}</a>
{% if feed.articles[n].readed %}</h3>{% else %}</h1>{% endif %}
- <h6>{{ feed.articles[n].date }}</h6>
+ <h6>{{ feed.articles[n].date.strftime('%A, %d %B %Y') }}</h6>
</div>
{% endfor %}
</div>
@@ -35,7 +35,7 @@
{% if feed.articles[n].readed %}<h3>{% else %}<h1>{% endif %}
<a href="/article/{{ feed.articles[n].id }}">{{ feed.articles[n].title|safe }}</a>
{% if feed.articles[n].readed %}</h3>{% else %}</h1>{% endif %}
- <h6>{{ feed.articles[n].date }}</h6>
+ <h6>{{ feed.articles[n].date.strftime('%A, %d %B %Y') }}</h6>
</div>
{% endfor %}
</div>
bgstack15