Login
Roast topics
Find topics
Find it!
From:
Cruncher blog
(Uncensored)
subscribe
Parsing local date and time strings with Javascript's Date()
https://cruncher.ch/blog/parsing-local-dates-in-js/
links
backlinks
Roast topics
Find topics
Roast it!
JavaScript's Date constructor is changing in ES6. Where before it parsed all date, time and datetime strings as UTC, ES6 says it should default to local time where a time zone is not given.