]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Deprecating z/zz removal note
authorTim Wood <washwithcare@gmail.com>
Wed, 11 Apr 2012 03:11:59 +0000 (20:11 -0700)
committerTim Wood <washwithcare@gmail.com>
Wed, 11 Apr 2012 03:11:59 +0000 (20:11 -0700)
moment.js

index ba596ff99e192da00f8083cca77f829810a25be9..e474fe22f615ec2297031c50464a10a6d8e07696 100644 (file)
--- 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,