Skip to content

Instantly share code, notes, and snippets.

@ichernev
Created March 18, 2017 20:46
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/78920c5a1e419fb28c6e4546d1b7235c to your computer and use it in GitHub Desktop.
Save ichernev/78920c5a1e419fb28c6e4546d1b7235c to your computer and use it in GitHub Desktop.
moment 2.18.0 changelog

moment 2.18.0 changelog

Features

  • #3708 [feature] RFC2822 parsing
  • #3611 [feature] Durations gain validity
  • #3738 [feature] Enable relative time for multiple seconds, request #2558
  • #3766 [feature] Add support for k and kk format parsing

Bugfixes

  • #3643 [bugfix] Fixes #3520, parseZone incorrectly handled minutes under 16
  • #3710 [bugfix] Fixes #3632, toISOString returns null for invalid date
  • #3787 [bugfix] Fixes #3717, ensure day-of-year is non-zero
  • #3780 [bugfix] Fixes #3765: Ensure year 0 is formatted with YYYY
  • #3806 [bugfix] Fixes #3805, fix locale month getters for standalone/format cases

New Locales

  • #3750 [new locale] kn: Kannada locale
  • #3753 [new locale] uz-latn: Uzbek latin locale
  • #3819 [new locale] de_ch: German (Switzerland) locale
  • #3792 [new locale] ar-kw: Arabic (Kuwait) locale
  • #3641 [new locale] ur: Urdu locale
  • #3659 [new locale] sd: Sindhi locale
  • #3778 [new locale] gom-latn: Konkani latin locale

Locale improvements

  • #3351 [locale] ko: Change 'm' date translation '일분' to '1분'
  • #3608 [locale] ja, zh-*, ko: Standardize CJK time formats
  • #3654 [locale] da: Improvements in calendar and date formats
  • #3726 [locale] fa: Improve relative time for seconds
  • #3664 [locale] pt, pt-br: all weekdays min values with 2 characters.
  • #3695 [locale] th: Adjust "L" format
  • #3707 [locale] eo: Fix grammatical errors
  • #3747 [locale] it: Weekdays are now lowercase
  • #3790 [locale] fr-*: Better ordinal parsing and ` in place of '
  • #3800 [locale] ka: Improved past relative time
  • #3671 [locale] ca: Improved months and datetime formats

Other

  • #3337 [misc] Exclude comments in minified code
  • #3799 [misc] Fix test broken only in March
  • #3773 [misc] Move travis install commands to install phase
  • #3776 [misc] Prefer HTTPS links when they exist
  • #3559 [misc] Clean up usage of typeof
  • #3655 [misc] Fix typo in CONTRIBUTING.md
  • #3676 [misc] Style changes in ping-all-authors script
  • #3701 [misc] typescript: Add boolean to LocaleSelector variants
  • #3712 [misc] Use isFunction instead of instanceof Function
  • #3737 [misc] Fix formatting of changelog
  • #3815 [misc] typescrpt: Fixes #3702, add week in duration input spec
  • #3817 [misc] Don't enumerate momentProperties with 'in'
  • #3812 [misc] typescript: Minor fixes
  • #3814 [misc] typescript: Moment interface now extends Object to inherit toString()
  • #3793 [misc] Change ordinalParse to dayOfMonthOrdinalParse in locales
  • #3828 [misc] Update meteor readme
  • #3840 [misc] Use npm to run typescript tests, fixes #3826
  • #3847 [misc] Fix custom locale bundler, fixes #3631
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment