]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
fixed timezone bug in test 2087/head
authorMatthias Winkelmann <matthi@matthi.coffee>
Wed, 2 Mar 2016 15:51:48 +0000 (16:51 +0100)
committerMatthias Winkelmann <matthi@matthi.coffee>
Wed, 2 Mar 2016 15:51:48 +0000 (16:51 +0100)
test/scale.time.tests.js

index 2558f046e5c97aeeef7ac14cf377b1f0bfed96b4..f5c3f470a3c64759fd20d8de6ce76e2a1fff526c 100644 (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);
                }