Moment.js v1.6.0 Release Notes
-
- ๐ Release Apr 26, 2012
โ Added Durations.
๐ Revamped parser to support parsing non-separated strings (YYYYMMDD vs YYYY-MM-DD).
โ Added support for millisecond parsing and formatting tokens (S SS SSS)
โ Added a getter for
moment.lang()
๐ Various bugfixes.
๐ There are a few things deprecated in the 1.6.0 release.
๐ 1. The format tokens
z
andzz
(timezone abbreviations like EST CST MST etc) will no longer be supported. Due to inconsistent browser support, we are unable to consistently produce this value. See this issue for more background.๐ 2. The method
moment.fn.native
is deprecated in favor ofmoment.fn.toDate
. There continue to be issues with Google Closure Compiler throwing errors when usingnative
, even in valid instances.๐ 3. The way to customize am/pm strings is being changed. This would only affect you if you created a custom language file. For more information, see this issue.