diff --git a/static/chart.mjs b/static/chart.mjs index 743f780..a29c13b 100644 --- a/static/chart.mjs +++ b/static/chart.mjs @@ -60,7 +60,7 @@ class HistoryChart { let now = Date.now() if (!when) when=now - this.data.push([now, value]) + this.data.push([when, value]) this.data.sort() let earliest = now - this.duration diff --git a/static/index.html b/static/index.html index 1eca0d1..69e3d9b 100644 --- a/static/index.html +++ b/static/index.html @@ -95,8 +95,8 @@