Instantly share code, notes, and snippets.

Embed
What would you like to do?
moment 2.13.0 changelog

moment 2.13.0 changelog

Bugfixes

  • #3109 Fix #1756 Resolved thread-safe issue on server side.
  • #3078 Fix parsing for months/weekdays with weird characters
  • #3098 Use Z suffix when in UTC mode (#3020)
  • #2995 Fix floating point rounding errors in durations
  • #3059 fix bug where diff returns -0 in month-related diffs
  • #3045 Fix mistaking any input for 'a' token
  • #2877 Use explicit .valueOf() calls instead of coercion
  • #3036 Year setter should keep time when DST changes

New Features

  • #2982 Add 'date' as alias to 'day' for startOf() and endOf().
  • #2955 Add parsing negative components in durations when ISO 8601
  • #2991 isBetween support for both open and closed intervals
  • #3105 Add localeSorted argument to weekday listers
  • #3102 Add k and kk formatting tokens

Locale improvements

  • #2977 ru - months abbreviation
  • #3089 nb,nn - update past relative time
  • #3030 sv - add date-time separator 'kl.' in long format
  • #3028 zh-cn - fix issue with DST transition (fix #3016)
  • #3024 kk - change months and weekdays to lowercase
  • #3023 km - fix March
  • #3015 zh-tw - fix relativeTime (fix #3014)
  • #2901 ko - update relative time

New locales

  • #3070 add Kyrgyz (kg) locale
  • #3081 add Swati (ss) locale
  • #3060 add pseudo (x-pseudo) locale

Build / Test improvements

  • #3053 Make Documentation link more obvious on npmjs
  • #3038 More DST fixes in unit tests
  • #3034 Fix unit test failures during daylight saving time
  • #3032 Restore unit tests commented out in #1379
  • #3013 Don't validate line endings
  • #3065 No deprecations in tests
  • #3093 Remove old unused grunt tasks
  • #3092 deps: peg grunt to ~0.4
  • #2916 feat: moment.d.ts TypeScript definition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment