Just ran across this little gem.
new Date('2018-01-01') <- Sun Dec 31 2017 18:00:00 GMT-0600 (Central Standard Time) new Date('2018/01/01') <- Mon Jan 01 2018 00:00:00 GMT-0600 (Central Standard Time)
The second one uses a
/ separator, so it does not trigger the ISO parse branch. Instead it sensibly presumes I am interested in a date in the current time zone.
Learning to code products doesn't take as long as you think - more precisely, 300 hours to learn, build, and launch. Learn about the history and misconceptions of development preventing you from even starting and then hop on that tech bus.