diff options
CLI: filter options have no effect for dates before the epoch
With the exception of filter.type_mask, a filter is only applied if set
explicitly on the command line with a filter option. Whether that is the
case, is determined by comparison with the initialization value. For
date related filters (start_from/to, end_from/to) that is -1, hence the
criterion is != -1, not >= 0.
In generel, a filter initialization value should be invalid (i.e. one
that cannot be set explicitly). As times before the epoch (1 January
1970 00:00:00 UTC) are negative, -1 is a valid Unix time. However, as it
cannot be set from the command line, it is probably no problem?
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'doc%252525252525252525253fid%252525252525252525253dd0602625bcb0af0ec37b74597630c156b188afef%2525252525252525253fid%2525252525252525253ddaa30ef3bb592cea54dbdbce0f241bab43eec5dc%25252525252525253fid%25252525252525253dad183c61a93ca0146407d314d4ae671c894f88a8%252525252525253fid%252525252525253dad183c61a93ca0146407d314d4ae671c894f88a8%2525252525253fid%2525252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%25252525253fid%25252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%252525253fid%252525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%2525253fid%2525253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%25253fid%25253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66%253fid%253d7851f46fbb1e84fe4fa62a36d1f79b936f040e66&id2%253d4ba2cc46d74a3b516046d1da565e4abb4dc1b196%3fid%3d7851f46fbb1e84fe4fa62a36d1f79b936f040e66?id=7851f46fbb1e84fe4fa62a36d1f79b936f040e66')
0 files changed, 0 insertions, 0 deletions