diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-11-15 21:24:49 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-12-02 22:59:23 +0100 |
commit | ff101bda430dda18e6f150ce6915891139ecccd9 (patch) | |
tree | df7906c7c5379307522ddc21634660fc99f02b2d /worker/notmuch/lib | |
parent | 23a05d17ac1d23466ff73efa19576d43d06efe4b (diff) | |
download | aerc-ff101bda430dda18e6f150ce6915891139ecccd9.tar.gz |
search: handle date ranges in search/filter query
Handle date ranges in the filter and search commands for searching and
filtering based on the Date: header. Implement a flag (-d) that accepts
a date range <start[..end]> where the start date is included in the
range but the end date is not, i.e. [start,end).
The start or end date can be omitted: "start", "start..", "..end", or
"start..end" are all valid inputs.
An example filter query would look like this: :filter -d 2022-11-09..
The dates should be in the YYYY-MM-DD format.
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/notmuch/lib')
0 files changed, 0 insertions, 0 deletions