aboutsummaryrefslogtreecommitdiffstats
path: root/templates/news/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/news/list.html')
-rw-r--r--templates/news/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/news/list.html b/templates/news/list.html
index c0d7e0a..d25715b 100644
--- a/templates/news/list.html
+++ b/templates/news/list.html
@@ -11,7 +11,7 @@
{% for user in users %}
<tr>
<td><a href="{{url_for('view_user', user_id=user.id)}}">{{user.user_name}}</a></td>
- <td>{{user.last_seen|format_date('%a %d %b à %Hh%M')}}</td>
+ <td>{{user.last_seen|format_ago('%a %d %b à %Hh%M')|safe}}</td>
</tr>
{% endfor %}
</table>
@@ -20,7 +20,7 @@
<ul id="last-comments">
{% for comment in comments %}
<li><a href="{{url_for('view_user', user_id=comment.user_id)}}">{{comment.user_name}}</a>
- {{comment.date|format_date('%a %d %b à %Hh%M')}}<br/>
+ {{comment.date|format_ago('%a %d %b à %Hh%M')|safe}}<br/>
{{comment.content_cache|shortify|safe}} <a href="{{url_for('show_news', news_id=comment.news_id)}}#comments">[…]</a>
</li>
{% else %}