diff --git a/forum/templates/post/post_list.html b/forum/templates/post/post_list.html index 9266c99..d448b01 100644 --- a/forum/templates/post/post_list.html +++ b/forum/templates/post/post_list.html @@ -27,7 +27,7 @@

- {{ post.post_date }} + {{ post.post_date|timesince }} {% trans 'ago' %} {% if post.is_modified %} - {% trans 'Edited' %} {% endif %} diff --git a/forum/templates/post/post_render.html b/forum/templates/post/post_render.html index 1b82d32..5f00a47 100644 --- a/forum/templates/post/post_render.html +++ b/forum/templates/post/post_render.html @@ -25,7 +25,7 @@

- {{ post.post_date }} + {{ post.post_date|timesince }} {% trans 'ago' %} {% if post.post_date != post.modifiction_date %} - {% trans 'Edited' %} {% endif %} -- libgit2 0.21.2