Hacker News new | ask | show | jobs
by ethbro 2354 days ago
I would love to hear what bizarre encoding they used that resulted in 2020 being an issue.

(I'm assuming these machines aren't all < year old and just break on any new year)

2 comments

2020 was a common pivot year used in the "windowing" workaround to the Y2K bug. 2-digit years < 20 are defined as 20XX, while years >= 20 are defined as 19XX.

https://en.wikipedia.org/wiki/Date_windowing

Thanks for sharing.

Y2K used to be just an interesting story from the past. Never guessed that it would still be biting people 20 years later. Ouch...

I would assume that they were made Y2K compliant by pushing the cutoff date back to 2020, so date math are operating on 1920 dates by accident.