From 5b37de577b07219aeacae586ebb50a0ee74fb22e Mon Sep 17 00:00:00 2001 From: hono4kami Date: Sat, 21 Dec 2024 23:44:43 +0700 Subject: [PATCH] feat: add absolute timestamp Add absolute timestamp to full post. Refs: #395 --- app/templates/post/_post_full.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/post/_post_full.html b/app/templates/post/_post_full.html index 9ae42048..1e6ed8b5 100644 --- a/app/templates/post/_post_full.html +++ b/app/templates/post/_post_full.html @@ -16,9 +16,9 @@ {% endif -%}

{% if post.reports > 0 and current_user.is_authenticated and post.community.is_moderator(current_user) -%} - {% endif -%}submitted {{ arrow.get(post.posted_at).humanize(locale=locale) }} by + {% endif -%}submitted by {{ render_username(post.author) }} - {% if post.edited_at -%} edited {{ arrow.get(post.edited_at).humanize(locale=locale) }}{% endif -%} + {% if post.edited_at -%} edited

{% if post.type == POST_TYPE_IMAGE -%}