Re:Good Design is Imperfect Design, Part 1: Honest Names
by saurik on Wednesday August 04, 2021 @09:27PM
(#28068655)
This doesn't work either as it wouldn't work correctly if started in a month with less than 31 days. To represent "the last day of the month" you really need to be subtracting one day from the first day of the next month, full stop: any solution working off of these weird rounding rules is going to be unreliable.
[ Parent
| on HN ]
There are no comments on this comment yet.