aboutsummaryrefslogtreecommitdiffstats
path: root/templates/news/show.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/news/show.html')
-rw-r--r--templates/news/show.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/news/show.html b/templates/news/show.html
index 35c510f..411cdfc 100644
--- a/templates/news/show.html
+++ b/templates/news/show.html
@@ -5,7 +5,7 @@
<h2>Détails</h2>
<ul>
<li>Auteur : <a href="">{{news.name}}</a></li>
-<li>Date : {{news.date}} </li>
+<li>Date : {{news.date|format_date}} </li>
<!--<li><a href="#comments">{{coments}}</a></li>-->
</div>
@@ -19,7 +19,9 @@
<hr/>
<h2 id="comments">Commentaires</h2>
{% for comment in comments %}
-<h3 class="comment">Posté par <a href="">{{comment.name}}</a> le {{comment.date}} </h3>
+<h3 class="comment">
+ Posté par <a href="">{{comment.name}}</a> le {{comment.date|format_date}}
+</h3>
<div class="comment_content"/>
{{comment.content|safe}}
</div>