Hacker News new | ask | show | jobs
by tantalor 19 days ago
> the above function uses base::Days(1) to represent exactly 24 hours

Isn't this false? I don't know this code, but I would assume Days(1) to be 1 day, not 24 hours, and adding 1 day would be aware of DST and handle the 25-hour day correctly.