3 ms·
That’s a bug worth reporting to them on Twitter! Which dates, incidentally?
by floatingatoll 5y ago
That’s a bug worth reporting to them on Twitter! Which dates, incidentally?
- bussyfumes 5y agoI no longer have access to send you the exact dates, but it was along the lines of what you can see here: https://stackoverflow.com/questions/63464398/new-date-returned-invalid-in-safari-but-chrome https://stackoverflow.com/questions/63464398/new-date-return... I just tried it in my Safari and it seems to give you an "Invalid Date" which it doesn't in Chrome. Not sure if it's a bug, maybe a design choice. Anyway, in my case I received dates from a backend and was supposed to visualize a chart with them and some supplementary data, so I had to parse them and at some point we learned that the chart was broken for users in Safari because they'd get "Invalid Date" after parsing.
- dmitriid 5y agoDates are weird in JS/browsers so I wouldn't be at all surprised if some browser was strictly adhering to a standard, and the other browser... also strictly adhering to a standard, but a different one. Or both being lax. Or one of them being lax. Or... Browsers are a mess, frankly :)