Skip to content

Instantly share code, notes, and snippets.

@ichernev
Created December 31, 2015 12:38
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/6594bc29719dde6b2f66 to your computer and use it in GitHub Desktop.
Save ichernev/6594bc29719dde6b2f66 to your computer and use it in GitHub Desktop.
moment 2.11.0 changelog

moment 2.11.0 changelog

Core bugfixes:

  • #2624 Proper handling of invalid moments
  • #2634 Fix strict month parsing issue in cs,ru,sk
  • #2635 Fix wrong humanize format with weird custom relative thresholds
  • #2735 Reset the locale back to 'en' after defining all locales in min/locales.js
  • #2702 Week rework
  • #2746 Changed September Abbreviation to "Sept" in locale-specific english files and default locale file
  • #2786 Don't treat string offsets like ints
  • #2646 Fix #2645 - invalid dates pre-1970

Core enhancements:

  • #2641 Implement basic format and comma as ms separator in ISO 8601
  • #2665 Implement stricter weekday parsing
  • #2700 Add [Hh]mm and [Hh]mmss formatting tokens, so you can parse 123 with hmm for example
  • #2534 verify 'require' is a function in UMD (fix lumbarjs)
  • #2565 #2835 Expose arguments used for moment creation with creationData (fix #2443)
  • #2669 Add support for ordinal format for quarters. Fixes issue #2559
  • #2691 Allow calendar to use functions
  • #2648 fix issue #2640: support instanceof operator
  • #2709 Add isSameOrAfter and isSameOrBefore comparison methods
  • #2721 Fix moment creation from object with strings values
  • #2740 Enable 'd hh:mm:ss.sss' format for durations
  • #2766 #2833 Alternate Clock Source Support

Locale improvements:

  • #2422 German words for today/yesterday/tomorrow should not be capitalized
  • #2738 Fix nepali language, meridiem and days of week.
  • #2458 Typos at months in uzbek
  • #2464 Updated nb.js to reflect the official versions
  • #2487 Fix Bangla translation for Evening, relative time, friday
  • #2498 Make Days and months in spanish lowercase
  • #2541 Fix russian locale for calendar next week
  • #2549 Improvements in khmer locale
  • #2579 Russian locale: capitalized first cahracters in names, fix #2569
  • #2630 Changed relative time translation in Marathi (mr)
  • #2236 Same length for weekdaysMin parts (Polish)
  • #2639 Same length for weekdaysMin parts (Italian) ES6
  • #2684 Improve Ukrainian relative time
  • #2785 Add preparse/postformat for ta
  • #2726 Fix Macedonian nextWeek/lastWeek locale
  • #2731 Add a dot after days and [kl.] on time formats for "nn" locale
  • #2741 Fix cases in Croatian
  • #2799 Remove caps in spanish month and days

New locales:

  • #2455 Add Northern Sami (se) locale
  • #2544 Add Lao (lo) locale
  • #2545 Add swahili (sw) locale
  • #2548 Add scots gaelic (gd) locale
  • #2556 Add Telugu (te) locale
  • #2562 Add swiss french (fr-ch) locale
  • #2594 Add dhivehi (dv) locale
  • #2613 Add kazakh (kk) locale
  • #2666 Add klingon (tlh) locale
  • #2683 Add English New Zealand (en-NZ) locale (same as en-AU)
  • #2734 Add English Ireland (en-ie) locale

Other:

  • #2486 Run travis tests on last IO.js + node versions
  • #2543 New isFunction util
  • #2587 Fix minor typos in the changelog
  • #2717 Add a few new browser/os combos for sauce labs Gruntfile.js
  • #2663 Make package compatible with Meteor v1.2
  • #2723 Show arguments in deprecation warnings.
  • #2724 Fix Hour diff test fails if being run around DST
  • #2739 Add ; before each main file's IIFE
  • #2744 Only call setFullYear when necessary during Date creation
  • #2773 New isUndefined utility method
  • #2777 Tests for two-digit time zone offsets
  • #2794 Tests shouldn't fail on non-whole hour offsets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment