News for hackers. Stuff that matters.
Re:Dates and Times in JavaScript – A New API for Dates from ... by bonedangle on Thursday July 09, 2020 @02:44PM (#23783571)
And it's December 31st.. Still shocked by how many times I see a year rollover go bad.
Re:Dates and Times in JavaScript – A New API for Dates from ... by unilynx on Thursday July 09, 2020 @05:15PM (#23785314)
Even before the rollover it get's bad. I had a CI failure on 31 December 2018 for code which worked fine on 31 December 2017, because it was the first time for that code to have Dec 31 in week 1 of the next year.

And last year someone else's code failed on 30 December 2019, so I had a pretty good idea where to look.

Still need to fix a bug in code written only yesteryear because the 1st of July wasn't on a Monday this year, but I decided to snooze that test failure ... it'll work fine again in 9 years.