Socket
Socket
Sign inDemoInstall

moment

Package Overview
Dependencies
0
Maintainers
5
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
46
8Next

2.11.1

Diff

Changelog

Source

2.11.1 See full changelog

  • Release January 9, 2016

Bugfixes:

  • #2881 Revert "Merge pull request #2746 from mbad0la:develop" Sep->Sept
  • #2868 Add format and parse token Y, so it actually works
  • #2865 Use typeof checks for undefined for global variables
  • #2858 Fix Date mocking regression introduced in 2.11.0
  • #2864 Include changelog in npm release
  • #2830 dep: add grunt-cli
  • #2869 Fix months parsing for some locales
ichernev
published 2.11.0 •

Changelog

Source

2.11.0 See full changelog

  • Release 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

  • #2646 Fix #2645 - invalid dates pre-1970

  • #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)

  • #2648 fix issue #2640: support instanceof operator

  • #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

  • #2766 #2833 Alternate Clock Source Support

ichernev
published 2.10.6 •

Changelog

Source

2.10.6

  • Release July 28, 2015

#2515 Fix regression introduced in 2.10.5 related to moment.ISO_8601 parsing.

ichernev
published 2.10.5 •

Changelog

Source

2.10.5 See full changelog

  • Release July 26, 2015

Important changes:

  • #2357 Improve unit bubbling for ISO dates this fixes day to year conversions to work around end-of-year (~365 days). As a side effect 365 days is 11 months and 30 days, and 366 days is one year.
  • #2438 Fix inconsistent moment.min and moment.max results Return invalid result if any of the inputs is invalid
  • #2494 Fix two digit year parsing with YYYY format This brings the benefits of YY to YYYY
  • #2368 perf: use faster form of copying dates, across the board improvement
ichernev
published 2.10.3 •

Changelog

Source

2.10.3 See full changelog

  • Release May 13, 2015
  • add moment.fn.to and moment.fn.toNow (similar to from and fromNow)
  • new locales (Sinhalese (si), Montenegrin (me), Javanese (ja))
  • performance improvements
ichernev
published 2.10.2 •

Changelog

Source

2.10.2

  • Release April 9, 2015
  • fixed moment-with-locales in browser env caused by esperanto change
ichernev
published 2.9.0 •

Changelog

Source

2.9.0 See full changelog

  • Release January 8, 2015

languages:

  • 2104 Frisian (fy) language file with unit test
  • 2097 add ar-tn locale

deprecations:

  • 2074 Implement moment.fn.utcOffset, deprecate moment.fn.zone

features:

  • 2088 add moment.fn.isBetween
  • 2054 Call updateOffset when creating moment (needed for default timezone in moment-timezone)
  • 1893 Add moment.isDate method
  • 1825 Implement toJSON function on Duration
  • 1809 Allowing moment.set() to accept a hash of units
  • 2128 Add firstDayOfWeek, firstDayOfYear locale getters
  • 2131 Add quarter diff support

Some bugfixes and language improvements -- full changelog

ichernev
published 2.8.4 •

Changelog

Source

2.8.4 See full changelog

  • Release November 19, 2014

Features:

  • #2000 Add LTS localised format that includes seconds
  • #1960 added formatToken 'x' for unix offset in milliseconds #1938
  • #1965 Support 24:00:00.000 to mean next day, at midnight.
  • #2002 Accept 'date' key when creating moment with object
  • #2009 Use native toISOString when we can

Some bugfixes and language improvements -- full changelog

ichernev
published 2.8.3 •

Changelog

Source

2.8.3

  • Release September 5, 2014

Bugfixes:

  • #1801 proper pluralization for Arabic
  • #1833 improve spm integration
  • #1871 fix zone bug caused by Firefox 24
  • #1882 Use hh:mm in Czech
  • #1883 Fix 2.8.0 regression in duration as conversions
  • #1890 Faster travis builds
  • #1892 Faster isBefore/After/Same
  • #1848 Fix flaky month diffs
  • #1895 Fix 2.8.0 regression in moment.utc with format array
  • #1896 Support setting invalid instance locale (noop)
  • #1897 Support moment([str]) in addition to moment([int])
ichernev
published 2.8.2 •

Changelog

Source

2.8.2

  • Release August 22, 2014

Minor bugfixes:

  • #1874 use Object.prototype.hasOwnProperty instead of obj.hasOwnProperty (ie8 bug)
  • #1873 add duration#toString()
  • #1859 better month/weekday names in norwegian
  • #1812 meridiem parsing for greek
  • #1804 spanish del -> de
  • #1800 korean LT improvement
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc