Date parsing bug in Safari
Parsing dates with the Date API in JavaScript is a little tricky, but for simple parsing, it would be enough…
Parsing dates with the Date API in JavaScript is a little tricky, but for simple parsing, it would be enough. You use the toISOString method, and you tested it in Chrome, and everything works fine. You deploy and BOOM. The page on Safari fails! Why? For more read on medium