diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-10-16 13:52:52 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-10-16 13:52:52 +0200 |
commit | f0a22953342abc6322aa96a24c58dc9702497d8b (patch) | |
tree | 8d60d9b3a964f9b69787199483534417a82f3ed2 | |
parent | abfeff003020d0435219e24c14a5029cda4eba0f (diff) | |
download | server-f0a22953342abc6322aa96a24c58dc9702497d8b.tar.gz |
Fix date display on chat log page.
-rw-r--r-- | views/chat.pug | 2 |
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) |