diff options
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 '%25252525252525252525253fid%25252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%252525252525252525253fid%252525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%2525252525252525253fid%2525252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%25252525252525253fid%25252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%252525252525253fid%252525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%2525252525253fid%2525252525253d4ba2cc46d74a3b516046d1da565e4abb4dc1b196%25252525253fid%25252525253d42e296c8403e52e46abb5fea70b65ae40a0425f3%252525253fid%252525253d3d7bb89c8886f6c318d26820ed4c0e6c25f9c959%2525253fid%2525253d215e90d348b10ffaa11b2a613388adc9285ea65a%25253fid%25253d215e90d348b10ffaa11b2a613388adc9285ea65a%253fid%253d215e90d348b10ffaa11b2a613388adc9285ea65a%3fid%3d215e90d348b10ffaa11b2a613388adc9285ea65a?id=03880a82bf203becaa2c8c12d75c1c16a53c0449')
0 files changed, 0 insertions, 0 deletions