summaryrefslogtreecommitdiff
path: root/views/forum_view.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-13 22:23:59 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-13 22:23:59 +0200
commit22d96bbd8d2f3c63328e0beb4e192eb9bf3d5ce3 (patch)
tree659ba958d21f3b3455b3a603111b861da3c14b69 /views/forum_view.pug
parentede55b317dea7915f4ced8b628d2b31262dc2847 (diff)
downloadserver-22d96bbd8d2f3c63328e0beb4e192eb9bf3d5ce3.tar.gz
Format human dates in view templates rather than in server queries.
Diffstat (limited to 'views/forum_view.pug')
-rw-r--r--views/forum_view.pug2
1 files changed, 1 insertions, 1 deletions
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)