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:
parent
6fe25fd1fd
commit
a5ec7212ff
1 changed files with 1 additions and 1 deletions
|
@ -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) +
|
||||
|
|
Loading…
Add table
Reference in a new issue