aboutsummaryrefslogtreecommitdiffstats
path: root/doc/intro.txt
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2018-11-08 10:12:38 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2019-01-07 16:57:43 +0100
commit03880a82bf203becaa2c8c12d75c1c16a53c0449 (patch)
tree248e2ddd1d3e03623f035f720182d0acbd8e6e33 /doc/intro.txt
parent4285e8859353c31b39fa9539a89e58dc3a020264 (diff)
downloadcalcurse-03880a82bf203becaa2c8c12d75c1c16a53c0449.tar.gz
calcurse-03880a82bf203becaa2c8c12d75c1c16a53c0449.zip
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>
Diffstat (limited to 'doc/intro.txt')
0 files changed, 0 insertions, 0 deletions