Skip to content

Instantly share code, notes, and snippets.

@marwahaha
Created September 22, 2020 08:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marwahaha/b0111718641a6461800066549957ec14 to your computer and use it in GitHub Desktop.
Save marwahaha/b0111718641a6461800066549957ec14 to your computer and use it in GitHub Desktop.

moment 2.29.0 changelog

Bugfixes

  • #5601 [bugfix] fix moment.months() for PL locale
  • #5574 [bugfix] More complete type definitions for strict formatless parsing #4611
  • #5637 [bugfix] expose deprecation handler in typings
  • #5647 [bugfix] allow calendar with falsy input

New locales

  • #5696 [new locale] es-mx: add Spanish (Mexico)
  • #5673 [new locale] bn-bd: Bengali (Bangladesh)

Locale improvements

  • #5724 [locale] add relativeTime week translation for many languages
  • #5609 [locale] (ar-ma) adjust dow, doy to match fr
  • #5666 [locale] tg-TJ: Improve months and date formats
  • #4742 [locale] sr-cyrl: Improve L* formats
  • #4925 [locale] hu: add dot after short months
  • #5661 [locale] (pt-br) add invalid date translation

Misc

  • #5611 [misc] update bug report template
  • #5717 [misc] add 'ww' key to RelativeTimeSpec Interface
  • #5716 [misc] check monthsParse configs on lint
  • #5715 [misc] Bump Prettier to v2.1

Tests

  • #5614 [tests] add tests for isLeapYear and daysInMonth

Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment