fixed timezone bug in test

This commit is contained in:
Matthias Winkelmann
2016-03-02 16:51:48 +01:00
parent fc46e25f23
commit 9410eaabbf

View File

@@ -177,7 +177,7 @@ describe('Time scale tests', function() {
var mockData = {
datasets: [{
data: [{
x: 375058800,
x: 375068900,
y: 1
}],
}]
@@ -186,7 +186,6 @@ describe('Time scale tests', function() {
verticalScaleConfig.time.unit = 'day';
verticalScaleConfig.time.round = true;
verticalScaleConfig.time.parser = function customTimeParser(label) {
console.log("got "+label+" returning "+moment.unix(label))
return moment.unix(label);
}