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/forum_view.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/forum_view.pug') diff --git a/views/forum_view.pug b/views/forum_view.pug index c82a2b4..017e49a 100644 --- a/views/forum_view.pug +++ b/views/forum_view.pug @@ -29,7 +29,7 @@ html td a.black(href="/forum/thread/"+row.thread_id)= row.subject td.r= row.count - td.w= row.mtime + td.w= human_date(row.mtime) tfoot tr td(colspan=4) -- cgit v1.2.3