From 30512a545ee799926012d8f309c93ecee5aedd24 Mon Sep 17 00:00:00 2001 From: David Huss <dh@atoav.com> Date: Wed, 6 Nov 2024 15:31:13 +0100 Subject: [PATCH] Merge js --- static/modules/system.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/modules/system.js b/static/modules/system.js index aca040c..245ab34 100644 --- a/static/modules/system.js +++ b/static/modules/system.js @@ -97,6 +97,7 @@ class System { let power_up = Date.parse(system_status['power-time']); let now = new Date(); let t = now - power_up; + let seconds = Math.round(t/1000, 0); let minutes = Math.round(t/1000/60, 0); if (minutes < 1) { -- GitLab