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_inbox.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/message_inbox.pug') diff --git a/views/message_inbox.pug b/views/message_inbox.pug index 4f02790..d8b6bc1 100644 --- a/views/message_inbox.pug +++ b/views/message_inbox.pug @@ -32,7 +32,7 @@ html tr(class=row.is_read?"read":"unread") td: a.black(href="/user/"+row.from_name)= row.from_name td: a.black(href="/message/read/"+row.message_id)= subject - td.w= row.time + td.w= human_date(row.time) else tr td(colspan=3) No messages. -- cgit v1.2.3