Should respect first timestamp as bin_start
This commit is contained in:
@@ -562,10 +562,10 @@ function getTimezone(timezone) {
|
||||
function populateBinStart(override, firstRow) {
|
||||
var binStart;
|
||||
|
||||
if (override.hasOwnProperty('start')) {
|
||||
binStart = getBinStart(override);
|
||||
} else if (firstRow.hasOwnProperty('timestamp')) {
|
||||
if (firstRow.hasOwnProperty('timestamp')) {
|
||||
binStart = firstRow.timestamp;
|
||||
} else if (override.hasOwnProperty('start')) {
|
||||
binStart = getBinStart(override);
|
||||
} else {
|
||||
binStart = firstRow.min;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user