From 4690b897e959629185c44dc7b080510147ee4356 Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" Date: Sun, 17 Nov 2024 16:32:55 +0100 Subject: [PATCH] Adapt to changed timestamp format. --- .../jdrupes/vmoperator/vmconlet/browser/VmConlet-functions.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org.jdrupes.vmoperator.vmconlet/src/org/jdrupes/vmoperator/vmconlet/browser/VmConlet-functions.ts b/org.jdrupes.vmoperator.vmconlet/src/org/jdrupes/vmoperator/vmconlet/browser/VmConlet-functions.ts index cfda2de..01bd897 100644 --- a/org.jdrupes.vmoperator.vmconlet/src/org/jdrupes/vmoperator/vmconlet/browser/VmConlet-functions.ts +++ b/org.jdrupes.vmoperator.vmconlet/src/org/jdrupes/vmoperator/vmconlet/browser/VmConlet-functions.ts @@ -204,8 +204,7 @@ JGConsole.registerConletFunction("org.jdrupes.vmoperator.vmconlet.VmConlet", "summarySeries", function(_conletId: string, series: any[]) { chartData.clear(); for (const entry of series) { - chartData.push(new Date(entry.time.epochSecond * 1000 - + entry.time.nano / 1000000), + chartData.push(new Date(entry.time * 1000), entry.values[0], entry.values[1]); } chartDateUpdate.value = new Date();