2 ms·
Users 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 bo
by CodesInChaos 6y ago
Users 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.