Instantly share code, notes, and snippets.

Embed
What would you like to do?

moment 2.10.3 changelog

New locales

Features

  • 2120 / 81167a6 Add moment.fn.to and moment.fn.toNow (similar to moment.fn.from and moment.fn.fromNow)
  • 2079 / b0413fc from/fromNow return Invalid date for invalid dates

Bugfixes

  • 2211 strict mode now checks if am/pm hour is whitin 1-12

Misc

  • 2303 various performance improvements
  • 2126 Add .editorconfig
  • 2175 / c9ebd25 print stack trace with deprecation warnings
  • 2176 lean spm and bower packages by removing unnecessary files
  • 2220 fix lint warning
  • 2286 simplify duration.fn.as
  • da5bb37 gitter badge
  • 2308 fix link to sample unit test

Locales fixes:

  • 2139 / 5992861 use cyrillic letters for Chuvash diacritics
  • 2156 / 78e5500 Swedish improvements to last-week
  • 2181 fix Croatian month names
  • 2204 better spacing in Chinese
  • 2226 / 6fb5fde Slovenian fixes
  • 2239 / 6b7864f Fix Monday in Burmese
  • 2268 / 1e0b598 Fix text direction format in Arabic
  • 2278 Fix polish locale month parsing
  • 2321 Various fixes for latvian
  • 2328 Fixes for Portugese and Spanish
  • 2329 Add minute unit in Chinese
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment