From b2f57fa30898e7a31c5006f4fa9c47b7582b0b1f Mon Sep 17 00:00:00 2001 From: hono4kami Date: Sat, 21 Dec 2024 23:51:13 +0700 Subject: [PATCH] feat: add absolute timestamp for post reply Refs: #395 --- app/templates/post/_post_reply_teaser.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/post/_post_reply_teaser.html b/app/templates/post/_post_reply_teaser.html index 1f57ea73..155da4d1 100644 --- a/app/templates/post/_post_reply_teaser.html +++ b/app/templates/post/_post_reply_teaser.html @@ -34,7 +34,7 @@ {% endif -%}
- {{ arrow.get(post_reply.posted_at).humanize(locale=locale) }}{% if post_reply.edited_at -%}, edited {{ arrow.get(post_reply.edited_at).humanize(locale=locale) }}{% endif -%} + {% if post_reply.edited_at -%}, edited {% endif -%}
{% if post_reply.reports and current_user.is_authenticated and post_reply.post.community.is_moderator(current_user) -%}