Live data from Hacker News

Ask HN: Did you encounter any leap year bugs today?

news.ycombinator.com

1–10 of 498 posts

Ask HN: Did you encounter any leap year bugs today?

#1
After a frantic scramble this morning, our billing team has finished patching a bug which erroneously was charging our monthly subscribers for an extra day.

All test suites are passing now, and SRE has scheduled a postmortem after the QA confirms the fix in 2028.

Re: Ask HN: Did you encounter any leap year bugs today?

#4
One cleanup script broke because Python doesn’t have a clean way to subtract a year, and if you do now.replace(year=now.year-1), you get a ValueError when now is 2/29.

It’s easy enough to address. There are various StackOverflow posts on such things. Here is one: https://stackoverflow.com/questions/54394327/using-datetime-...

Post reply on HN