summaryrefslogtreecommitdiff
path: root/%253fid%253d3d7bb89c8886f6c318d26820ed4c0e6c25f9c959%3fid%3d215e90d348b10ffaa...
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 /%253fid%253d3d7bb89c8886f6c318d26820ed4c0e6c25f9c959%3fid%3d215e90d348b10ffaa11b2a613388adc9285ea65a?id=03880a82bf203becaa2c8c12d75c1c16a53c0449
parent4285e8859353c31b39fa9539a89e58dc3a020264 (diff)
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 '%253fid%253d3d7bb89c8886f6c318d26820ed4c0e6c25f9c959%3fid%3d215e90d348b10ffaa11b2a613388adc9285ea65a?id=03880a82bf203becaa2c8c12d75c1c16a53c0449')
0 files changed, 0 insertions, 0 deletions