arasatasaygin / is.js

Micro check library
http://is.js.org
MIT License
9.16k stars 625 forks source link

is.dayLightSavingTime should return false if given date is in daylight saving time. #266

Open jdalton opened 7 years ago

jdalton commented 7 years ago

I noticed a unit test fail on Node 7.6.0.

 1) time checks is.dayLightSavingTime should return false if given date is in daylight saving time:
     AssertionError: expected false to be true
ironmaniiith commented 7 years ago

I came across this article on dayLightSavingTime and got reminded of this :stuck_out_tongue_winking_eye: Maybe we can remove it in the next release.