From 63edd142430dce8889236ed73ac1e8870916a7c7 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 4 Jul 2016 10:36:10 -0400 Subject: [PATCH] fix date error --- contrib/js/livechan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/js/livechan.js b/contrib/js/livechan.js index e2194df..9aecd85 100644 --- a/contrib/js/livechan.js +++ b/contrib/js/livechan.js @@ -1223,7 +1223,7 @@ Chat.prototype.generateChat = function(data) { } if (data.Posted) { - date.appendChild(document.createTextNode((new Date(data.Posted)).toLocaleString())); + date.appendChild(document.createTextNode((new Date(data.Posted * 1000)).toLocaleString())); } if (data.Tripcode) {