Skip to content

Instantly share code, notes, and snippets.

@marwahaha
marwahaha / .treehouse
Last active November 23, 2016 03:37 — forked from ErikGartner/.treehouse
dTree Demo
1.3.1

moment 2.19.3 changelog

Bugfixes

  • #4326 [bugfix] Fix for ReDOS vulnerability (see #4163)

Misc

  • #4289 [misc] Fix spelling and formatting for U.S. for es-us

moment 2.19.4 changelog

Bugfixes

  • #4332 [bugfix] Fix weekday verification for UTC and offset days (fixes #4227)
  • #4336 [bugfix] Fix #4334: Remove unused function call argument

Misc

  • #4246 [misc] Add 'ss' relative time key to typescript definition

moment 2.20.0 changelog

Bugfixes

  • #4312 [bugfix] Fix #4251: Avoid RFC2822 in utc() test
  • #4240 [bugfix] Fix incorrect strict parsing with full-width parentheses

Features

  • #4341 [feature] Prevent toISOString converting to UTC (issue #1751)

moment 2.20.1 changelog

Locale improvements

  • #4359 [locale] Fix Arabic locale for months (again)

Misc

  • #4357 [misc] Add optional parameter keepOffset to toISOString
@marwahaha
marwahaha / moment-gist.py
Last active March 2, 2018 18:52
make changelog gist for moment
# coding: utf-8
import sys
if len(sys.argv) < 3:
print("Must specify before and after tags. Example: 'python moment-gist.py 2.19.2 2.19.3'")
sys.exit(1)
BEFORE = sys.argv[1]
AFTER = sys.argv[2]
import re

moment 2.21.0 changelog

Bugfixes

  • #4391 [bugfix] Fix #4390: use offset properly in toISOString
  • #4361 [bugfix] remove ordinal for Turkish locale as they use `cardin…
  • #4360 [bugfix] Correct min/max TypeScript signatures
  • #4310 [bugfix] Fix #3883 lazy load parentLocale in defineLocale, fallback to global if missing

New locales

moment 2.22.0 changelog

New locales

  • #4423 [new locale] Added Mongolian locale mn

Locale improvements

  • #4430 [locale] zh-tw: add spaces
  • #4458 [locale] Georgian - fixed incorrectly used word

moment 2.22.1 changelog

Bugfixes

  • #4495 [bugfix] Added HTML5_FMT to moment.d.ts

Locale improvements

  • #3989 [locale] pt: Fix capital letters in weekdays
  • #4478 [locale] ug-cn: put abbr in lowercase

moment 2.22.2 changelog

Bugfixes

  • #4564 [bugfix] Avoid using trim()
  • #4453 [bugfix] Treat periods as periods, not regex-anything period, for weekday parsing in strict mode.

Locale improvements

  • #4583 [locale] Fix #4568: Insert punjabi for "next"