From 9410eaabbfd85826c42e541d43987888f951749e Mon Sep 17 00:00:00 2001 From: Matthias Winkelmann Date: Wed, 2 Mar 2016 16:51:48 +0100 Subject: [PATCH] fixed timezone bug in test --- test/scale.time.tests.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/scale.time.tests.js b/test/scale.time.tests.js index 2558f046e..f5c3f470a 100644 --- a/test/scale.time.tests.js +++ b/test/scale.time.tests.js @@ -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); } -- 2.47.2