Changelog History
Page 7
-
v2.2.0 Changes
- ๐ Release Sep 11, 2013
โ Added bower support.
Language files now use UMD.
0๏ธโฃ Creating moment defaults to current date/month/year.
โ Added a bundle of moment and all language files.
-
v2.1.0 Changes
- ๐ Release Jul 8, 2013
โ Added better week support.
โ Added ability to set offset with
moment#zone
.โ Added ability to set month or weekday from a string.
โ Added
moment#min
andmoment#max
-
v2.0.0 Changes
- ๐ Release Feb 9, 2013
โ Added short form localized tokens.
โ Added ability to define language a string should be parsed in.
โ Added support for reversed add/subtract arguments.
โ Added support for
endOf('week')
andstartOf('week')
.๐ Fixed the logic for
moment#diff(Moment, 'months')
andmoment#diff(Moment, 'years')
moment#diff
now floors instead of rounds.Normalized
moment#toString
.โ Added
isSame
,isAfter
, andisBefore
methods.โ Added better week support.
โ Added
moment#toJSON
๐ Bugfix: Fixed parsing of first century dates
๐ Bugfix: Parsing 10Sep2001 should work as expected
๐ Bugfix: Fixed weirdness with
moment.utc()
parsing.๐ Changed language ordinal method to return the number + ordinal instead of just the ordinal.
๐ Changed two digit year parsing cutoff to match strptime.
โ Removed
moment#sod
andmoment#eod
in favor ofmoment#startOf
andmoment#endOf
.โ Removed
moment.humanizeDuration()
in favor ofmoment.duration().humanize()
.โ Removed the lang data objects from the top level namespace.
Duplicate
Date
passed tomoment()
instead of referencing it. -
v1.7.2 Changes
- ๐ Release Oct 2, 2012
๐ Bugfixes
-
v1.7.1 Changes
- ๐ Release Oct 1, 2012
๐ Bugfixes
-
v1.7.0 Changes
- ๐ Release Jul 26, 2012
โ Added
moment.fn.endOf()
andmoment.fn.startOf()
.โ Added validation via
moment.fn.isValid()
.Made formatting method 3x faster. http://jsperf.com/momentjs-cached-format-functions
โ Add support for month/weekday callbacks in
moment.fn.format()
โ Added instance specific languages.
โ Added two letter weekday abbreviations with the formatting token
dd
.โก๏ธ Various language updates.
๐ Various bugfixes.
-
v1.6.0 Changes
- ๐ 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.
-
v1.5.0 Changes
- ๐ Release Mar 20, 2012
โ Added UTC mode.
โ Added automatic ISO8601 parsing.
๐ Various bugfixes.
-
v1.4.0 Changes
- ๐ Release Feb 4, 2012
โ Added
moment.fn.toDate
as a replacement formoment.fn.native
.โ Added
moment.fn.sod
andmoment.fn.eod
to get the start and end of day.๐ Various bugfixes.
-
v1.3.0 Changes
- ๐ Release Jan 5, 2012
โ Added support for parsing month names in the current language.
โ Added escape blocks for parsing tokens.
โ Added
moment.fn.calendar
to format strings like 'Today 2:30 PM', 'Tomorrow 1:25 AM', and 'Last Sunday 4:30 AM'.โ Added
moment.fn.day
as a setter.๐ Various bugfixes