widdevst: keep around a number instead of object (Date.now)

pull/3397/head
Rob Pilling 2024-05-02 18:24:34 +01:00
parent 09f4082948
commit 2beb1c2997
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
WIDGETS.devst = {area: "tr", width: 22, draw: function() {
if (WIDGETS.devst._draw) return;
var d = new Date();
var d = Date.now();
var t;
if ((d - stat.date) < 6e4) {
t = process.memory(false);