NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1284 most downloaded on npm
Parse, validate, manipulate, and display dates
Last release 20 days ago
15 Sep 2026
Ships unpredictably
gaps range from 8 days to 2.7 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
15 years old
77 releases · first in 2011
Fix CVE-2026-17495 ( GHSA-4p3w-j4w9-5jqw )
Released Sep 14, 2026
eHHmm formatlocale('__proto__') corrupting the global localeObject.assign in duration.humanizeL date formatsOne column per quarter.
Note - this was not a new release, but rather just updating GitHub's latest release to indicate the existing version 2.30.1 from Dec 27, 2023.
Note - this was not a new release, but rather just updating GitHub's latest release to indicate the existing version 2.30.1 from Dec 27, 2023.
Original changelog is here: https://github.com/moment/moment/blob/2.30.1/CHANGELOG.md
Released Dec 27, 2023
_Released Dec 26, 2023_
_Released Jul 6, 2022_ - #6015 [bugfix] Fix ReDoS in preprocessRFC2822 regex
Released Jul 6, 2022
_Released Apr 17, 2022_ - #5995 [bugfix] Remove const usage - #5990 misc: fix advisory link
Address https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4
Released Apr 3 2022
Address https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4
Address https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4
Updated deprecation message, bugfix in hi locale
Released Oct 6, 2020
Updated deprecation message, bugfix in hi locale
New locales (es-mx, bn-bd). Minor bugfixes and locale improvements. More tests. Moment is in maintenance mode. Read more at this link: https://momentj
Released Sept 22, 2020
New locales (es-mx, bn-bd). Minor bugfixes and locale improvements. More tests. Moment is in maintenance mode. Read more at this link: https://momentjs.com/news/
Fix bug where .format() modifies original instance, and locale updates
Released Sept 13, 2020
Fix bug where .format() modifies original instance, and locale updates
Added Turkmen locale, other locale improvements, slight TypeScript fixes
Released June 18, 2020
Added Turkmen locale, other locale improvements, slight TypeScript fixes
TypeScript fixes and many locale improvements
Released May 19, 2020
TypeScript fixes and many locale improvements
Remove package.json module property. It looks like webpack behaves differently for modules loaded via module vs jsnext:main.
Released May 4, 2020
Remove package.json module property. It looks like webpack behaves differently for modules loaded via module vs jsnext:main.
This release includes ES Module bundled moment, separate from it's source code under dist/ folder. This might alleviate issues with finding the `./loc
Released May 4, 2020
This release includes ES Module bundled moment, separate from it's source code under dist/ folder. This might alleviate issues with finding the `./locale subfolder for loading locales. This might also mean now webpack will bundle all locales automatically, unless told otherwise.
This is a quick patch release to address some of the issues raised after releasing 2.25.0.
Released May 1, 2020
This is a quick patch release to address some of the issues raised after releasing 2.25.0.
5 new locales (oc-lnc, zh-mo, en-in, gom-deva, fil)
Released May 1, 2020
3 new locales (it-ch, ga, en-SG)
other locale changes, build process changes, typos
Released Dec 12, 2018
Minor locale improvements (pa-in, be, az)
QUnit upgrade and coveralls reporting
Released Apr 14, 2018
_Released Mar 30, 2018_ - #4423 [new locale] Added Mongolian locale mn - Various locale improvements - Minor misc changes
Released Mar 30, 2018
_Released Mar 2, 2018_ - #4391 [bugfix] Fix #4390: use offset properly in toISOString - #4310 [bugfix] Fix #3883 lazy load parentLocale in defineLocal
Released Mar 2, 2018
_Released Dec 18, 2017_ - #4359 [locale] Fix Arabic locale for months (again) - #4357 [misc] Add optional parameter keepOffset to toISOString
Various other locale improvements
Released Dec 16, 2017
_Released Dec 10, 2017_ - #4332 [bugfix] Fix weekday verification for UTC and offset days (fixes #4227) - #4336 [bugfix] Fix #4334: Remove unused func
_Released Nov 29, 2017_ - #4326 [bugfix] Fix for ReDOS vulnerability (see #4163) - #4289 [misc] Fix spelling and formatting for U.S. for es-us
_Released Nov 11, 2017_ - #4255 [bugfix] Fix year setter for random days in a leap year, fixes #4238 - #4242 [bugfix] updateLocale now tries to load p
Make react native and webpack both work
Released Oct 11, 2017
Make react native and webpack both work
Bugfixes, new locales, locale fixes etc...
Released Oct 10, 2017
Bugfixes, new locales, locale fixes etc...
_Released Mar 22, 2017_ - #3853 [misc] Fix invalid whitespace character causing inability to parse moment.js
Released Mar 22, 2017
7 new locales, many locale improvements and some misc changes
Released Mar 18, 2017
7 new locales, many locale improvements and some misc changes
_Released Dec 03, 2016_ - #3638 [misc] TS: Make typescript definitions work with 1.x - #3628 [misc] Adds "sign CLA" link to CONTRIBUTING.md - #3640 [m
_Released Nov 22, 2016_ - #3435 [new locale] yo: Yoruba (Nigeria) locale - #3595 [bugfix] Fix accidental reference to global "value" variable - #3506
Released Nov 22, 2016
And more locale, build and typescript improvements
Released Nov 9, 2016
And more locale, build and typescript improvements
_Released Oct 23, 2016_ - #3525 Speedup month standalone/format regexes (IMPORTANT) - #3466 Fix typo of Javanese
_Released Sept 20, 2016_ - #3438 Fix locale autoload, revert #3344
Also some locale and typescript improvements
Released Sept 12, 2016
Also some locale and typescript improvements
_Released July 20, 2016_ - #3280 Fix typescript definitions
Released July 20, 2016
Plus es-do locale and locale bugfixes
Released July 20, 2016
Plus es-do locale and locale bugfixes
Plus 3 new locales and locale fixes.
Released April 18, 2016
Plus 3 new locales and locale fixes.
_Released March 7, 2016_ ## Enhancements: - #2932 List loaded locales - #2818 Parse ISO-8061 duration containing both day and week values - #2774 Impl
Released March 7, 2016
And more
_Released February 7, 2016_ - #2939 use full-string match to speed up aspnet regex match
Released February 7, 2016
_Released January 9, 2016_ ## Bugfixes: - #2881 Revert "Merge pull request #2746 from mbad0la:develop" Sep->Sept - #2868 Add format and parse token Y,
Released January 9, 2016
_Released January 4, 2016_ - #2624 Proper handling of invalid moments - #2634 Fix strict month parsing issue in cs,ru,sk - #2735 Reset the locale back
Released January 4, 2016
#2624 Proper handling of invalid moments
#2634 Fix strict month parsing issue in cs,ru,sk
#2735 Reset the locale back to 'en' after defining all locales in min/locales.js
#2702 Week rework
#2746 Changed September Abbreviation to "Sept" in locale-specific english files and default locale file
#2641 Implement basic format and comma as ms separator in ISO 8601
#2665 Implement stricter weekday parsing
#2700 Add [Hh]mm and [Hh]mmss formatting tokens, so you can parse 123 with hmm for example
#2565 #2835 Expose arguments used for moment creation with creationData (fix #2443)
#2709 Add isSameOrAfter and isSameOrBefore comparison methods
#2721 Fix moment creation from object with strings values
#2740 Enable 'd hh:mm:ss.sss' format for durations
_Released July 28, 2015_ #2515 Fix regression introduced in 2.10.5 related to moment.ISO_8601 parsing.
Released July 28, 2015
#2515 Fix regression introduced
in 2.10.5 related to moment.ISO_8601 parsing.
_Released July 26, 2015_ Important changes: - #2357 Improve unit bubbling for ISO dates this fixes day to year conversions to work around end-of-year
Released July 26, 2015
Important changes:
add moment.fn.to and moment.fn.toNow (similar to from and fromNow)
Released May 13, 2015
moment.fn.to and moment.fn.toNow (similar to from and fromNow)fixed moment-with-locales in browser env caused by esperanto change
Released April 9, 2015
2074 Implement moment.fn.utcOffset, deprecate moment.fn.zone
Released January 8, 2015
languages:
deprecations:
moment.fn.utcOffset, deprecate moment.fn.zonefeatures:
Some bugfixes and language improvements -- full changelog
Some bugfixes and language improvements -- full changelog
Released November 19, 2014
Features:
Some bugfixes and language improvements -- full changelog
_Released September 5, 2014_ Bugfixes: - #1801 proper pluralization for Arabic - #1833 improve spm integration - #1871 fix zone bug caused by Firefox
Released September 5, 2014
Bugfixes:
_Released August 22, 2014_ Minor bugfixes: - #1874 use Object.prototype.hasOwnProperty instead of obj.hasOwnProperty (ie8 bug) - #1873 add duration#to
bugfix #1813: fix moment().lang([key]) incompatibility
Released August 1, 2014
_Released June 12, 2014_ - new languages - #1678 Bengali (bn) - #1628 Azerbaijani (az) - #1633 Arabic, Saudi Arabia (ar-sa) - #1648 Austrian German (d
Released June 12, 2014
new languages
features
bugfixes
_Released April 12 , 2014_ - languages - #1529 Serbian-Cyrillic (sr-cyr) - #1544, #1546 Khmer Cambodia (km) - features - #1419, #1468, #1467, #1546 be
Released April 12 , 2014
languages
features
18 bugs fixed
_Released January 22, 2014_ - languages - #1392 Armenian (hy-am) - bugfixes - #1429 fixes #1423 weird chrome-32 bug with js object creation - #1421 re
Released January 22, 2014
languages
bugfixes
testing
1311 Add quarter getter and format token Q
Released Dec 24, 2013
New languages
Features
22 bugfixes
Deprecate globally exported moment, will be removed in next major
Released Oct 27, 2013
Removed a trailing comma [1169] and fixed a bug with months, weekdays getters #1171.
Released Oct 9, 2013
Removed a trailing comma [1169] and fixed a bug with months, weekdays getters #1171.
Changed isValid, added strict parsing. Week tokens parsing.
Released Oct 7, 2013
Changed isValid, added strict parsing. Week tokens parsing.
Fixed bug in string prototype test. Updated authors and contributors.
Released Sep 12, 2013
Fixed bug in string prototype test. Updated authors and contributors.
Your coding agent can read these notes before it upgrades. Set up the MCP server →