]> git.ipfire.org Git - thirdparty/moment.git/commit
[bugfix] Fix weekday verification for UTC and offset days (fixes #4227) (#4332)
authorIsaac Cambron <isaac@isaaccambron.com>
Mon, 11 Dec 2017 00:27:27 +0000 (19:27 -0500)
committerKunal Marwaha <marwahaha@berkeley.edu>
Mon, 11 Dec 2017 00:27:27 +0000 (19:27 -0500)
commit1c978ba782b76ead2f67ddabbb53fc32bc87f7fa
tree5b19688fd335aa23bfbbaea09d40773d0f2f0c3d
parent2f6b148ad25f6fbf9ae0372741240771ef13960f
[bugfix] Fix weekday verification for UTC and offset days (fixes #4227) (#4332)

* Verify utc date weekdays using local weekday

* add tests and change check
src/lib/create/from-array.js
src/test/moment/create.js
src/test/moment/zones.js