Commit 56641b8d authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Allow 1s slack for long time display.

parent aae6b460
......@@ -1237,7 +1237,7 @@ function formatLines(lines) {
function formatTime(time) {
let delta = Date.now() - time;
let date = new Date(time);
if(delta >= 0)
if(delta > -1000)
return date.toTimeString().slice(null, 8);
return date.toLocaleString();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment