Fix tests

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2025-11-09 14:36:27 +01:00
committed by Adam Warner
parent f34135b47f
commit ee3a2f47c2
4 changed files with 109 additions and 68 deletions

View File

@@ -377,13 +377,24 @@ function updateSystemInfo() {
$("#status").prop(
"title",
"System uptime: " +
luxon.Duration.fromMillis(1000 * system.uptime).toHuman({smallestUnit: "seconds", maxUnits: 2, stripZeroUnits: "all"}) +
luxon.Duration.fromMillis(1000 * system.uptime).toHuman({
smallestUnit: "seconds",
maxUnits: 2,
stripZeroUnits: "all",
}) +
" (running since " +
startdate +
")"
);
$("#sysinfo-uptime").text(
luxon.Duration.fromMillis(1000 * system.uptime).toHuman({smallestUnit: "seconds", maxUnits: 2, stripZeroUnits: "all"}) + " (running since " + startdate + ")"
luxon.Duration.fromMillis(1000 * system.uptime).toHuman({
smallestUnit: "seconds",
maxUnits: 2,
stripZeroUnits: "all",
}) +
" (running since " +
startdate +
")"
);
$("#sysinfo-system-overlay").hide();