Skip to content

Commit

Permalink
Adapt to changed timestamp format.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlipp committed Nov 17, 2024
1 parent e7da41f commit 4690b89
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4690b89

Please sign in to comment.