Commit 76008605 authored by fred's avatar fred

update after the change from newsitem.datetime to .date

parent 8904f0d5
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<ul class="episode-list"> <ul class="episode-list">
{% for newsitem in emission.get_sorted_newsitems|slice:":5" %} {% for newsitem in emission.get_sorted_newsitems|slice:":5" %}
<li>{{ newsitem.datetime|date:"d E o H:i"|lower }} <li>{{ newsitem.date|date:"d E o H:i"|lower }}
<a href="{% url 'newsitem-view' slug=newsitem.slug %}">{{ newsitem.title }}</a> <a href="{% url 'newsitem-view' slug=newsitem.slug %}">{{ newsitem.title }}</a>
</li> </li>
{% empty %} {% empty %}
...@@ -62,7 +62,7 @@ Aucune actu. ...@@ -62,7 +62,7 @@ Aucune actu.
<ul class="episode-list"> <ul class="episode-list">
{% for newsitem in news_category.get_sorted_newsitems|slice:":10" %} {% for newsitem in news_category.get_sorted_newsitems|slice:":10" %}
<li>{{ newsitem.datetime|date:"d E o H:i"|lower }} <li>{{ newsitem.date|date:"d E o H:i"|lower }}
<a href="{% url 'newsitem-view' slug=newsitem.slug %}">{{ newsitem.title }}</a> <a href="{% url 'newsitem-view' slug=newsitem.slug %}">{{ newsitem.title }}</a>
</li> </li>
{% empty %} {% empty %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment