From f0a22953342abc6322aa96a24c58dc9702497d8b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 16 Oct 2022 13:52:52 +0200 Subject: Fix date display on chat log page. --- views/chat.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views') 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) -- cgit v1.2.3