Lars Henriksen 03880a82bf Fix day range for queries
In "--from a --to z", a is included in the range, z not. This is
non-intuitive and disagrees with the semantics of "to" in filter options
like --filter-start-to, where "to" (and "from") are used inclusively (as
opposed to "before" and "after"). It also has the effect that "--from
today --to tomorrow" has a range of 1 day, "--to z" a range of 0 days
(otherwise not allowed), and "--to today --days -1" is allowed and
displays yesterday!

The implementation has been fixed to agree with "inclusive" semantics.
Options --from and -days with negative range are allowed, while --to and
--days are disallowed also when the range is negative.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2019-01-07 16:57:43 +01:00
..
2018-11-10 12:19:28 +01:00
2019-01-07 16:57:43 +01:00
2018-12-14 10:35:11 +01:00
2018-11-10 12:19:28 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-11-15 06:35:17 +01:00
2018-08-25 10:22:29 +02:00
2017-01-12 08:40:30 +01:00
2018-11-24 00:26:09 +01:00
2018-12-14 10:35:11 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2018-10-21 20:02:57 +02:00
2017-01-12 08:40:30 +01:00
2018-07-28 14:06:15 +02:00
2017-01-12 08:40:30 +01:00
2018-10-21 20:02:57 +02:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2018-11-10 12:19:28 +01:00
2018-12-14 10:35:11 +01:00
2017-01-12 08:40:30 +01:00
2017-01-12 08:40:30 +01:00
2018-10-21 20:01:34 +02:00