4 ms·
FWIW, at work we have regular failing tests after new year as the automated tests usually work with the current year. So I can relate that it's easy to write b
by bhaak 7y ago
FWIW, at work we have regular failing tests after new year as the automated tests usually work with the current year.
So I can relate that it's easy to write buggy date handling code even today.
But at least we have tests. All those poor programmers that worked on Y2K didn't have them. And those that work on Y2k20 bugs probably still don't.
- cwkoss 7y agoWe have a couple tests that fail for 24 hours after a daylight savings change as they don't accommodate 25 hour days.
- paulie_a 7y agoI've been in numerous meetings where the options were come up with an elaborate solution. Or the data will be skewed one day of the year and let's go get lunch. Guess which one we chose
- bhaak 7y agoIf you are Europe based, it doesn't even makes sense anymore to fix it as daylight savings time is on its way out soon. "Sitting the problem out" is a valid problem solving strategy. :-)