News for hackers. Stuff that matters.
Re:Everything You Need to Know About Date in JavaScript by cafard on Tuesday June 18, 2019 @10:45AM (#20213622)
Then there's good old IE 11:

foo = new Date(2018, 6, 100); [date] Mon Oct 08 2018 00:00:00 GMT-0400 (Eastern Daylight Time)

Re:Everything You Need to Know About Date in JavaScript by gmiller123456 on Tuesday June 18, 2019 @12:49PM (#20215097)
What is it about this that you find odd? I just tested it in Chrome and it provides the same answer. I'm pretty sure this is the documented behavior.
Re:Everything You Need to Know About Date in JavaScript by Quipunotch104 on Tuesday June 18, 2019 @06:07AM (#20211263)
Tldr, use moment.js
Re:Everything You Need to Know About Date in JavaScript by codefined on Tuesday June 18, 2019 @07:05AM (#20211657)
Can recommend DayJS[0] as a lighter alternative to MomentJS with an almost identical API.

[0] https://github.com/iamkun/dayjs