summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Tittelbach <bernhard@tittelbach.org>2014-10-25 17:34:23 +0200
committerBernhard Tittelbach <bernhard@tittelbach.org>2014-10-25 17:40:59 +0200
commite16ce06382c47c40978586a89f2f514662193f2e (patch)
tree10ff2bfda4ecb9517531d6e366682a51ff4aef9d
parenttry to optimize speed (diff)
from
-rw-r--r--src/viz/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viz/index.js b/src/viz/index.js
index 31c5637..869d6e0 100644
--- a/src/viz/index.js
+++ b/src/viz/index.js
@@ -1,8 +1,8 @@
var qintv_ms = 5000;
var uripart = "/updates?";
//var lastfrom = "";
-//var lastfrom = "from="+(new Date(Date.now() - 10*60*1000)).toISOString();
-var lastfrom="from=2013-10-24T06:30:45Z&to=2013-10-24T06:32:45";
+var lastfrom = "from="+(new Date(Date.now() - 10*60*1000)).toISOString();
+//var lastfrom="from=2013-10-24T06:30:45Z&to=2013-10-24T06:32:45";
console.log(lastfrom);
//var possible_display_functions = {"Off":"none", "Value":showvalue, "Gauge":showgauge, "Graph":showasgraph};
var possible_display_functions = {"Off":"none", "Value":showvalue, "Graph":showasgraph};