Skip to content

Instantly share code, notes, and snippets.

View ichernev's full-sized avatar

Iskren Ivov Chernev ichernev

  • Palo Alto, California, USA
View GitHub Profile
@ichernev
ichernev / moment-2.17.0.md
Last active November 22, 2016 13:36
moment 2.17.0 changelog
  • released Nov 22, 2016

  • #3435 [new locale] yo: Yoruba (Nigeria) locale

  • #3595 [bugfix] Fix accidental reference to global "value" variable

  • #3506 [bugfix] Fix invalid moments returning valid dates to method calls

  • #3563 [locale] ca: Change future relative time

  • #3504 [tests] Fixes #3463, parseZone not handling Z correctly (tests only)

  • #3591 [misc] typescript: update typescript to 2.0.8, add strictNullChecks=true

  • #3597 [misc] Fixed capitalization in nuget spec

@ichernev
ichernev / moment-2.16.0.md
Created November 10, 2016 06:38
moment 2.16.0 changelog

moment 2.16.0 changelog

  • Released Nov 9, 2016

Features

  • #3530 [feature] Check whether input is date before checking if format is array
  • #3515 [feature] Fix #2300: Default to current week.

Bugfixes

  • #3546 [bugfix] Implement lazy-loading of child locales with missing prents
@ichernev
ichernev / make_gist.bash
Created October 19, 2016 05:21
Helper script that pushes a markdown file as a gist after linkifying issues
#!/bin/bash
set -e
set -o pipefail
REPO="moment/moment"
function json_escape(){
echo -n "$1" | python -c 'import json,sys; print json.dumps(sys.stdin.read())'
}
@ichernev
ichernev / moment-2.15.0.md
Created September 12, 2016 08:40
moment 2.15.0 changelog

moment 2.15.0 changelog

  • Released Sept 12, 2016

New Locales

  • #3255 [new locale] mi: Maori language
  • #3267 [new locale] ar-ly: Arabic (Libya) locale
  • #3333 [new locale] zh-hk: Chinese (Hong Kong) locale

Bugfixes

moment 2.14.0 changelog

New Features

  • #3233 Introduce month.isFormat for format/standalone discovery
  • #2848 Allow user to get/set the rounding method used when calculating relative time
  • #3112 optimize configFromStringAndFormat
  • #3147 Call calendar format function with moment context
  • #3160 deprecate isDSTShifted
  • #3175 make moment calendar extensible with ad-hoc options
  • #3191 toDate returns a copy of the internal date object
@ichernev
ichernev / moment-2.13.0.md
Created April 18, 2016 07:20
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
@ichernev
ichernev / merge_pr.bash
Last active November 6, 2016 09:29
Merge a pull request from github after rebasing it first
#!/bin/bash
set -e
set -o pipefail
EDIT_TITLE=1
repo="moment/moment"
upstream_remote="upstream"
main_branch="develop"
@ichernev
ichernev / moment-2.12.0.md
Last active March 7, 2016 09:07
moment 2.12.0 changelog

moment 2.12.0 changelog

Bugfixes:

  • #2970 change add subtract to handle decimal values by rounding
  • #2887 Fix toJSON casting of invalid moment
  • #2897 parse string arguments for month() correctly, closes #2884
  • #2946 Fix usage suggestions for min and max

Enhancements:

  • #2932 List loaded locales
@ichernev
ichernev / moment-2.11.1.md
Last active April 16, 2016 18:24
Bugfixes:

moment 2.11.1 changelog

Bugfixes:

  • #2881 Revert "Merge pull request #2746 from mbad0la:develop" Sep->Sept
  • #2868 Add format and parse token Y, so it actually works
  • #2865 Use typeof checks for undefined for global variables
  • #2858 Fix Date mocking regression introduced in 2.11.0
  • #2864 Include changelog in npm release
  • #2830 dep: add grunt-cli
  • #2869 Fix months parsing for some locales
@ichernev
ichernev / moment-2.11.0.md
Created December 31, 2015 12:38
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