From: Matthias Winkelmann Date: Wed, 2 Mar 2016 15:51:48 +0000 (+0100) Subject: fixed timezone bug in test X-Git-Tag: v2.0.0~25^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F2087%2Fhead;p=thirdparty%2FChart.js.git fixed timezone bug in test --- 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); }