Bug fixed with chart

This commit is contained in:
Luis Fernando Molina committed 2020-07-28 18:52:53 +02:00
1 parent 4d6c0ad493
commit 39660a8d2b
2 files changed
+13 -5

No files matched your search

@@ -797,7 +797,7 @@
let dataRecord = dataFile[i]
let begin = dataRecord[beginIndex]
let end = dataRecord[endIndex]
if (end < bot.SESSION.parameters.timeRange.config.initialDatetime) { continue }
if (end < bot.SESSION.parameters.timeRange.config.initialDatetime - 1) { continue } // /1 because we need the previous closed element
if (begin > bot.SESSION.parameters.timeRange.config.finalDatetime) { continue }
result.push(dataRecord)
}