fix utc timestamps

This commit is contained in:
Jakob Ketterl 2019-07-06 21:26:35 +02:00
parent d8a7dfbdbd
commit eb1b1ba22f

View File

@ -1252,7 +1252,7 @@ function on_ws_recv(evt)
var pad = function(i) { return ('' + i).padStart(2, "0"); } var pad = function(i) { return ('' + i).padStart(2, "0"); }
$b.append($( $b.append($(
'<tr>' + '<tr>' +
'<td>' + pad(t.getHours()) + pad(t.getMinutes()) + pad(t.getSeconds()) + '</td>' + '<td>' + pad(t.getUTCHours()) + pad(t.getUTCMinutes()) + pad(t.getUTCSeconds()) + '</td>' +
'<td>' + msg['db'] + '</td>' + '<td>' + msg['db'] + '</td>' +
'<td>' + msg['dt'] + '</td>' + '<td>' + msg['dt'] + '</td>' +
'<td>' + msg['freq'] + '</td>' + '<td>' + msg['freq'] + '</td>' +