Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

moment

Package Overview
Dependencies
Maintainers
5
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment - npm Package Versions

1
8

2.8.1

Diff

Changelog

Source

2.8.1

  • Release August 1, 2014
  • bugfix #1813: fix moment().lang([key]) incompatibility
ichernev
published 2.7.0 •

Changelog

Source

2.7.0 See changelog

  • Release June 12, 2014
  • new languages

    • #1678 Bengali (bn)
    • #1628 Azerbaijani (az)
    • #1633 Arabic, Saudi Arabia (ar-sa)
    • #1648 Austrian German (de-at)
  • features

    • #1663 configurable relative time thresholds
    • #1554 support anchor time in moment.calendar
    • #1693 support moment.ISO_8601 as parsing format
    • #1637 add moment.min and moment.max and deprecate min/max instance methods
    • #1704 support string value in add/subtract
    • #1647 add spm support (package manager)
  • bugfixes

ichernev
published 2.6.0 •

Changelog

Source

2.6.0 See changelog

  • Release April 12 , 2014
  • languages

  • features

    • #1419, #1468, #1467, #1546 better handling of timezone-d moments around DST
    • #1462 add weeksInYear and isoWeeksInYear
    • #1475 support ordinal parsing
    • #1499 composer support
    • #1577, #1604 put Date parsing in moment.createFromInputFallback so it can be properly deprecated and controlled in the future
    • #1545 extract two-digit year parsing in moment.parseTwoDigitYear, so it can be overwritten
    • #1590 (see #1574) set AMD global before module definition to better support non AMD module dependencies used in AMD environment
    • #1589 remove global in Node.JS environment (was not working before, nobody complained, was scheduled for removal anyway)
    • #1586 support quarter setting and parsing
  • 18 bugs fixed

ichernev
published 2.5.1 •

Changelog

Source

2.5.1

  • Release January 22, 2014
  • languages

  • bugfixes

    • #1429 fixes #1423 weird chrome-32 bug with js object creation
    • #1421 remove html entities from Welsh
    • #1418 fixes #1401 improved non-padded tokens in strict matching
    • #1417 fixes #1404 handle buggy moment object created by property cloning
    • #1398 fixes #1397 fix Arabic-like week number parsing
    • #1396 add leftZeroFill(4) to GGGG and gggg formats
    • #1373 use lowercase for months and days in Catalan
  • testing

    • #1374 run tests on multiple browser/os combos via SauceLabs and Travis
ichernev
published 2.5.0 •

Changelog

Source

2.5.0 See changelog

  • Release Dec 24, 2013
  • New languages

  • Features

    • 1311 Add quarter getter and format token Q
    • 1303 strict parsing now respects number of digits per token (fix 1196)
    • 0d30bb7 add jspm support
    • 1347 improve zone parsing
    • 1362 support merideam parsing in Korean
  • 22 bugfixes

ichernev
published 2.4.0 •

Changelog

Source

2.4.0

  • Release Oct 27, 2013
  • Deprecate globally exported moment, will be removed in next major
  • New languages
  • Bugfixes
    • properly handle Z at the end of iso RegExp #1187
    • chinese meridian time improvements #1076
    • fix language tests #1177
    • remove some failing tests (that should have never existed :)) #1185 #1183
    • handle russian noun cases in weird cases #1195
ichernev
published 2.3.1 •

Changelog

Source

2.3.1

  • Release Oct 9, 2013

Removed a trailing comma [1169] and fixed a bug with months, weekdays getters #1171.

ichernev
published 2.3.0 •

Changelog

Source

2.3.0 See changelog

  • Release Oct 7, 2013

Changed isValid, added strict parsing. Week tokens parsing.

ichernev
published 2.2.1 •

Changelog

Source

2.2.1

  • Release Sep 12, 2013

Fixed bug in string prototype test. Updated authors and contributors.

timrwood
published 2.1.0 •

Changelog

Source

2.1.0 See changelog

  • 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 and moment#max

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc