diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-13 22:23:59 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-13 22:23:59 +0200 |
commit | 22d96bbd8d2f3c63328e0beb4e192eb9bf3d5ce3 (patch) | |
tree | 659ba958d21f3b3455b3a603111b861da3c14b69 /views/message_outbox.pug | |
parent | ede55b317dea7915f4ced8b628d2b31262dc2847 (diff) | |
download | server-22d96bbd8d2f3c63328e0beb4e192eb9bf3d5ce3.tar.gz |
Format human dates in view templates rather than in server queries.
Diffstat (limited to 'views/message_outbox.pug')
-rw-r--r-- | views/message_outbox.pug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/message_outbox.pug b/views/message_outbox.pug index f42ef7f..40cc59d 100644 --- a/views/message_outbox.pug +++ b/views/message_outbox.pug @@ -35,7 +35,7 @@ html tr td: a.black(href="/user/"+row.to_name)= row.to_name td.e: a.black(href="/message/read/"+row.message_id)= row.subject - td.w= row.time + td.w= human_date(row.time) else tr td(colspan=3) No messages. |