From: Pierre Spring Date: Fri, 2 Dec 2011 00:44:07 +0000 (+0100) Subject: fixes bug in minutes format X-Git-Tag: 1.3.0~33^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f45505c4134faa171d90bcc8c001bb83ea76cd15;p=thirdparty%2Fmoment.git fixes bug in minutes format --- diff --git a/moment.js b/moment.js index 11d814f04..f23dec517 100644 --- a/moment.js +++ b/moment.js @@ -565,7 +565,7 @@ } if (yyy) { - return moment.relativeDate[yyy].replace('%weekday', this.format('dddd')).replace('%time', this.format('HH:MM')); + return moment.relativeDate[yyy].replace('%weekday', this.format('dddd')).replace('%time', this.format('HH:mm')); } return this.format('L');