]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fixed a typo 1815/head
authorTore Lervik <tore@lervik.com>
Mon, 21 Dec 2015 21:43:20 +0000 (22:43 +0100)
committerTore Lervik <tore@lervik.com>
Mon, 21 Dec 2015 21:43:20 +0000 (22:43 +0100)
src/scales/scale.time.js

index 971f58e02cfe0f9bd31eb833da4ece3dcfd98bc1..f6293a92f92d3eabb52d02e4b44b324d5d0c212a 100644 (file)
                        }, this);
 
                        // We will modify these, so clone for later
-                       this.firstTick = (this.firstTick || moment(new Date)).clone();
-                       this.lastTick = (this.lastTick || moment(new Date)).clone();
+                       this.firstTick = (this.firstTick || moment(new Date())).clone();
+                       this.lastTick = (this.lastTick || moment(new Date())).clone();
                },
                buildTicks: function(index) {