Use ms rather than second precision

This commit is contained in:
Ryan McKinley
2016-11-17 09:21:25 -08:00
parent 04356f31d2
commit 7958615097
@@ -275,12 +275,7 @@ export default class InfluxDatasource {
}
date = dateMath.parse(date, roundUp);
}
var secs = date.valueOf() / 1000;
if (roundUp) {
secs += 1;
}
return secs.toFixed(0) + 's';
return date.valueOf() + 'ms';
}
}