Allow 1s slack for long time display.
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user