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/search_user.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/search_user.pug') diff --git a/views/search_user.pug b/views/search_user.pug index bc67cf6..308cc41 100644 --- a/views/search_user.pug +++ b/views/search_user.pug @@ -22,7 +22,7 @@ html tr td a.black(href="/user/"+who.name)= who.name - td.w= who.atime + td.w= human_date(who.atime) else p.error Nobody found matching "#{search}". -- cgit v1.2.3