]> git.notmuchmail.org Git - notmuch/commitdiff
lib: add support for date:<expr>..! to mean date:<expr>..<expr>
authorJani Nikula <jani@nikula.org>
Sat, 15 Aug 2015 11:25:47 +0000 (14:25 +0300)
committerDavid Bremner <david@tethera.net>
Sat, 26 Sep 2015 00:55:24 +0000 (21:55 -0300)
It doesn't seem likely we can support simple date:<expr> expanding to
date:<expr>..<expr> any time soon. (This can be done with a future
version of Xapian, or with a custom query query parser.) In the mean
time, provide shorthand date:<expr>..! to mean the same. This is
useful, as the expansion takes place before interpetation, and we can
use, for example, date:yesterday..! to match from beginning of
yesterday to end of yesterday.

Idea from Mark Walters <markwalters1009@gmail.com>.


No differences found