I am trying to create correct Date object
new Date("December 15, 2015")
I expect this
2015-12-15T00:00:00.000Z
But the actual outcome is this
2015-12-14T16:00:00.000Z
What is wrong?
Run your node like this:
$ TZ=UTC node
and you don't have local time zone issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With