Skip to content

Instantly share code, notes, and snippets.

@ichernev
Created April 18, 2016 07:20
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 ichernev/0132fcf5b61f7fc140b0bb0090480d49 to your computer and use it in GitHub Desktop.
Save ichernev/0132fcf5b61f7fc140b0bb0090480d49 to your computer and use it in GitHub Desktop.
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