From 22d96bbd8d2f3c63328e0beb4e192eb9bf3d5ce3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 13 Oct 2024 22:23:59 +0200 Subject: Format human dates in view templates rather than in server queries. --- views/message_read.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/message_read.pug') diff --git a/views/message_read.pug b/views/message_read.pug index f02c2f7..f429f86 100644 --- a/views/message_read.pug +++ b/views/message_read.pug @@ -25,7 +25,7 @@ html div. From: #[a(href="/user/"+message.from_name)= message.from_name] To: #[a(href="/user/"+message.to_name)= message.to_name] - div= message.time + div= human_date(message.time) div.body!= message.body p -- cgit v1.2.3