summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-10-16 13:52:52 +0200
committerTor Andersson <tor@ccxvii.net>2022-10-16 13:52:52 +0200
commitf0a22953342abc6322aa96a24c58dc9702497d8b (patch)
tree8d60d9b3a964f9b69787199483534417a82f3ed2
parentabfeff003020d0435219e24c14a5029cda4eba0f (diff)
downloadserver-f0a22953342abc6322aa96a24c58dc9702497d8b.tar.gz
Fix date display on chat log page.
-rw-r--r--views/chat.pug2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/chat.pug b/views/chat.pug
index 3fb9b35..55a8eb1 100644
--- a/views/chat.pug
+++ b/views/chat.pug
@@ -64,7 +64,7 @@ html
let tr = document.createElement("tr")
if (user === me) tr.className = "me"
add(tr,game_id,"/join/"+game_id)
- add(tr,format_date(new Date(time+"Z")))
+ add(tr,format_date(new Date(time*1000)))
add(tr,user,"/user/"+user)
add(tr,message)
chat_lines.push(tr)