Skip to content

Instantly share code, notes, and snippets.

Avatar

Iskren Ivov Chernev ichernev

  • Palo Alto, California, USA
View GitHub Profile
@ichernev
ichernev / moment-2.29.3.md
Created Apr 17, 2022
Moment 2.29.3 Changelog
View moment-2.29.3.md

moment 2.29.3 changelog

Bugfixes

  • #5995 [bugfix] Remove const usage

Other

  • #5990 misc: fix advisory link
View moment-2.29.2
# moment 2.29.2 changelog
This is security update, adressing
https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4
Locales with names containing forward slash `/` and backward slash `\\` are no
longer loaded from filesystem (they can still be used in locales which are
defined on the spot).
This might break your code, if you happen to package your own locales in
View moment-2.25.0.md

moment 2.25.0 changelog

new locales

  • #4957 [new locale] oc-lnc: Occitan
  • #5356 [new locale] zh-mo: Chinese (Macau)
  • #5271 d9913b26[new locale] en-in: English (India)
  • #5076 849f5c01[new locale] gom-deva: Add Konkani Devanagari
  • a585cb65[new locale] fil: Filipino, copied from tl-ph

locale updates

@ichernev
ichernev / moment-2.19.2.md
Created Nov 11, 2017
moment 2.19.2 changelog
View moment-2.19.2.md

moment 2.19.2 changelog

Bugfixes

  • #4255 [bugfix] Fix year setter for random days in a leap year, fixes #4238
  • #4242 [bugfix] updateLocale now tries to load parent, fixes #3626
@ichernev
ichernev / moment-2.19.0.md
Created Oct 10, 2017
moment 2.19.0 changelog
View moment-2.19.0.md

moment 2.19.0 changelog

NOTE: There are some changes in this release with questionable stability across the packaging/environment spectrum. Update with care.

Critical

React native 0.49+ crashes with dynamic requires. This is a workaround.

  • #4213 [critical] Rename dynamic require to avoid React Native crash
View make_gist
#!/bin/bash -x
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-zones.md
Last active May 24, 2017
Moment zone/offset/mutation handling
View moment-zones.md

Timezone/Offset handling in moment

Intro

Datetime handling is relatively straight forward for UTC, but can get messy around DST (Daylight Savings Time), when the local clock shifts forwards or backwards one hour. During DST it's possible that a particular local time is invalid (in the middle of a forward shift) or ambiguous (in the middle of a backwards shift).

@ichernev
ichernev / moment-2.18.0.md
Created Mar 18, 2017
moment 2.18.0 changelog
View moment-2.18.0.md

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

@ichernev
ichernev / moment-2.17.1.md
Created Dec 4, 2016
moment 2.17.1 changelog
View moment-2.17.1.md

moment 2.17.1 changelog

  • Released Dec 3, 2016

  • #3638 [misc] TS: Make typescript definitions work with 1.x

  • #3628 [misc] Adds "sign CLA" link to CONTRIBUTING.md

  • #3640 [misc] Fix locale issues

@ichernev
ichernev / moment-2.17.0.md
Last active Nov 22, 2016
moment 2.17.0 changelog
View moment-2.17.0.md
  • 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