summaryrefslogtreecommitdiff
path: root/views/chat.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/chat.pug')
-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)