Re:Ask HN: Did you encounter any leap year bugs today?
by hinkley on Thursday February 29, 2024 @04:04PM
(#39555068)
But then it'll be off by one day for the rest of this year. And someone will notice that they no longer have March 1 2023-March 1 2024 in their chart, but March 2 2023
[ Parent
| on HN ]
Re:Ask HN: Did you encounter any leap year bugs today?
by kccqzy on Thursday February 29, 2024 @05:50PM
(#39556284)
It's a cleanup script. I bet nobody cares it's off by one day. Also I doubt a cleanup script has a charting function.
Everything is use case dependent. Sometimes the use case is unimportant enough that mistakes are okay.
Re:Ask HN: Did you encounter any leap year bugs today?
by hinkley on Thursday February 29, 2024 @06:13PM
(#39556454)
While that's true, I'm sharing scar tissue here not hypotheticals.
There's often someone out there who interprets such things as a 3 month, or 1 year retention policy and that it means they're entitled to look at the entire range whenever they want.