From: Tim Wood Date: Wed, 11 Apr 2012 03:11:59 +0000 (-0700) Subject: Deprecating z/zz removal note X-Git-Tag: 1.6.0~1^2~11^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bac516da48cd4881c49d9c9d879456d098635018;p=thirdparty%2Fmoment.git Deprecating z/zz removal note --- diff --git a/moment.js b/moment.js index ba596ff99..e474fe22f 100644 --- a/moment.js +++ b/moment.js @@ -25,6 +25,7 @@ formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|dddd?|do?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|SS?S?|zz?|ZZ?|LT|LL?L?L?)/g, // regexes for format z, zz + // TODO: When we drop support for z and zz, remove these variables nonuppercaseLetters = /[^A-Z]/g, timezoneRegex = /\([A-Za-z ]+\)|:[0-9]{2} [A-Z]{3} /g,