From 4ed1232554fd49ce0fb4d65436f9f4b5fdd52f19 Mon Sep 17 00:00:00 2001
From: rimu <3310831+rimu@users.noreply.github.com>
Date: Mon, 23 Dec 2024 12:39:22 +1300
Subject: [PATCH] readable date - fixes #395
---
app/templates/post/_post_full.html | 4 ++--
app/templates/post/_post_reply_teaser.html | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/templates/post/_post_full.html b/app/templates/post/_post_full.html
index 52c03cae..d1725134 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 {{ arrow.get(post.posted_at).humanize(locale=locale) }} by
{{ render_username(post.author) }}
- {% if post.edited_at -%} edited {{ arrow.get(post.edited_at).humanize(locale=locale) }}{% endif -%}
+ {% if post.edited_at -%} edited {{ arrow.get(post.edited_at).humanize(locale=locale) }}{% endif -%}
{% if post.type == POST_TYPE_IMAGE -%}
diff --git a/app/templates/post/_post_reply_teaser.html b/app/templates/post/_post_reply_teaser.html
index a69777f3..351dc05f 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 -%}
+ {{ 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.reports and current_user.is_authenticated and post_reply.post.community.is_moderator(current_user) -%}