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.29.3.md
Created April 17, 2022 18:17
Moment 2.29.3 Changelog
View moment-2.29.3.md
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
@ichernev
ichernev / moment-2.19.2.md
Created November 11, 2017 20:09
moment 2.19.2 changelog
View moment-2.19.2.md
@ichernev
ichernev / moment-2.19.0.md
Created October 10, 2017 09:17
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 19:53
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 March 18, 2017 20:46
moment 2.18.0 changelog
View moment-2.18.0.md
@ichernev
ichernev / moment-2.17.1.md
Created December 4, 2016 05:35
moment 2.17.1 changelog
View moment-2.17.1.md
@ichernev
ichernev / moment-2.17.0.md
Last active November 22, 2016 13:36
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