From: Tore Lervik Date: Mon, 21 Dec 2015 21:43:20 +0000 (+0100) Subject: Fixed a typo X-Git-Tag: 2.0.0-beta2~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1815%2Fhead;p=thirdparty%2FChart.js.git Fixed a typo --- diff --git a/src/scales/scale.time.js b/src/scales/scale.time.js index 971f58e02..f6293a92f 100644 --- a/src/scales/scale.time.js +++ b/src/scales/scale.time.js @@ -126,8 +126,8 @@ }, 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) {