summaryrefslogtreecommitdiff
path: root/%252525252525252525252525253fid%252525252525252525252525253d7851f46fbb1e84fe4...
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 /%252525252525252525252525253fid%252525252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%2525252525252525252525253fid%2525252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%25252525252525252525253fid%25252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%252525252525252525253fid%252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%2525252525252525253fid%2525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%25252525252525253fid%25252525252525253d4ba2cc46d74a3b516046d1da565e4abb4dc1b196%252525252525253fid%252525252525253d42e296c8403e52e46abb5fea70b65ae40a0425f3%2525252525253fid%2525252525253d3d7bb89c8886f6c318d26820ed4c0e6c25f9c959%25252525253fid%25252525253d215e90d348b10ffaa11b2a613388adc9285ea65a%252525253fid%252525253d215e90d348b10ffaa11b2a613388adc9285ea65a%2525253fid%2525253d215e90d348b10ffaa11b2a613388adc9285ea65a%25253fid%25253d215e90d348b10ffaa11b2a613388adc9285ea65a%253fid%253d03880a82bf203becaa2c8c12d75c1c16a53c0449%3fid%3d03880a82bf203becaa2c8c12d75c1c16a53c0449?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 '%252525252525252525252525253fid%252525252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%2525252525252525252525253fid%2525252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%25252525252525252525253fid%25252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%252525252525252525253fid%252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%2525252525252525253fid%2525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%25252525252525253fid%25252525252525253d4ba2cc46d74a3b516046d1da565e4abb4dc1b196%252525252525253fid%252525252525253d42e296c8403e52e46abb5fea70b65ae40a0425f3%2525252525253fid%2525252525253d3d7bb89c8886f6c318d26820ed4c0e6c25f9c959%25252525253fid%25252525253d215e90d348b10ffaa11b2a613388adc9285ea65a%252525253fid%252525253d215e90d348b10ffaa11b2a613388adc9285ea65a%2525253fid%2525253d215e90d348b10ffaa11b2a613388adc9285ea65a%25253fid%25253d215e90d348b10ffaa11b2a613388adc9285ea65a%253fid%253d03880a82bf203becaa2c8c12d75c1c16a53c0449%3fid%3d03880a82bf203becaa2c8c12d75c1c16a53c0449?id=03880a82bf203becaa2c8c12d75c1c16a53c0449')
0 files changed, 0 insertions, 0 deletions