Fix typo
parent
9d67877294
commit
8dd71947bd
|
|
@ -78,7 +78,7 @@ function drawGraph() {
|
|||
now = new Date();
|
||||
month = now.getMonth() + 1;
|
||||
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");
|
||||
times = getArrayFromCSV(csvFile, 0);
|
||||
first = getDate(times[0]) + " " + getTime(times[0]); //first entry in datafile
|
||||
|
|
@ -162,4 +162,4 @@ settings = storage.readJSON(SETTINGS_FILE, 1) || {};
|
|||
|
||||
drawMenu();
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in New Issue