]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
fixes bug in minutes format
authorPierre Spring <pierre@nelm.io>
Fri, 2 Dec 2011 00:44:07 +0000 (01:44 +0100)
committerPierre Spring <pierre@nelm.io>
Fri, 2 Dec 2011 00:44:07 +0000 (01:44 +0100)
moment.js

index cd27161f2f58eecc1f5c93d2ed6579d712e4d78a..44dffe900f912522bc9f37061f8d4287d6138390 100644 (file)
--- a/moment.js
+++ b/moment.js
             }
 
             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');