Fix typo
parent
9d67877294
commit
8dd71947bd
|
|
@ -78,7 +78,7 @@ function drawGraph() {
|
||||||
now = new Date();
|
now = new Date();
|
||||||
month = now.getMonth() + 1;
|
month = now.getMonth() + 1;
|
||||||
if (month < 10) month = "0" + month;
|
if (month < 10) month = "0" + month;
|
||||||
filename = filename = "activepedom-" + now.getFullYear() + month + now.getDate() + ".data";
|
filename = filename = "activepedom" + now.getFullYear() + month + now.getDate() + ".data";
|
||||||
var csvFile = storage.open(filename, "r");
|
var csvFile = storage.open(filename, "r");
|
||||||
times = getArrayFromCSV(csvFile, 0);
|
times = getArrayFromCSV(csvFile, 0);
|
||||||
first = getDate(times[0]) + " " + getTime(times[0]); //first entry in datafile
|
first = getDate(times[0]) + " " + getTime(times[0]); //first entry in datafile
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue