Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

moment 2.6.0 changelog

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

bugfixes

language

  • #1447 moment.parseZone now passes all arguments to moment.fn.parseZone
  • #1444 fix Lithuanian nominative weekday detection
  • #1458 improved Spanish translation in case month is surrounded by dashes
  • #1457 add meridiem for Armenian
  • #1268 improve longDateFormat for Brazilian
  • #1461 improve short months in Romanian
  • #1478 lowercase month and weekday names for Portuguese
  • #1526 various norwegian nynorsk fixes
  • #1528 improve Serbian latin and change lang code to sr
  • #1426 various Czech fixes
  • #1556 rename Vietnamese from vn to vi
  • #1573 Albanian improvements
  • #1571 add meridiem for Hungarian
  • #1583 update longDateFormat for Spanish
  • #1596 fix absolute 31 minutes in Russian
  • #1602 make German adhere to DIN 5008

core

  • #1578 parse iso strings with more than 3 subsecond digits
  • #1588 (see #1537) fix cjs module handling to work better with webpack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.