The JavaScript Date Constructor
I came across a little gotcha with the Date constructor recently. The new Date() constructor takes a unix timestamp or a dateString, which according to mozilla should allow a version of ISO8601. Here’s the issue If my timezone is Easter Standard Time (US east coast) and I create a new...