1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

test html: js date uses ms

This commit is contained in:
Andy Green 2016-08-23 18:29:17 +08:00
parent 6fe25fd1fd
commit a5ec7212ff

View file

@ -576,7 +576,7 @@ document.getElementById("number").textContent = get_appropriate_ws_url();
s="<table>";
var n;
for (n = 0; n < jso.conns.length; n++) {
var d = new Date(parseInt(jso.conns[n].time));
var d = new Date(parseInt(jso.conns[n].time) * 1000);
s = s + "<tr><td class=l>client " + (n + 1) +
"</td><td><b>" + san(jso.conns[n].peer) +