4 ms·
I don't think 23:59:59 is the same as midnight, that sounds like an error to me.
by jhardy54 6y ago
I don't think 23:59:59 is the same as midnight, that sounds like an error to me.
- CodesInChaos 6y agoUsers often find half open intervals confusing, so it often makes sense to render an interval as ending one tick before it actually ends (especially when the boundary is at midnight). We introduced this change after frequent complaints about our invoices when we still rendered a month as "01.03.2020 00:00 - 01.04.2020 00:00", while people are fine with "01.03.2020 00:00 - 31.03.2020 23:59" despite the minor inaccuracy.