calendar -B flag show futur events in some case

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

calendar -B flag show futur events in some case

Solene Rapenne
On OpenBSD-current amd64 last snapshot, when using calendar -B flag, I get a
date which is due in 3 days when I want to show events in the past 33 days.
Using an other range of days doesn't work, it has to be 33. Past events are
correctly shown though.

This is reproducible on 6.4 release as well.

How to reproduce:

solene@t480 ~ $ cat .calendar/calendar
12 January      bug
solene@t480 ~ $ calendar -B 33 -t 20190109
Jan 12  bug
solene@t480 ~ $ calendar -B 50 -t 20190109
solene@t480 ~ $ calendar -B 32 -t 20190109
solene@t480 ~ $ calendar -B 34 -t 20190109
solene@t480 ~ $