aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-11-15 21:24:49 +0100
committerRobin Jarry <robin@jarry.cc>2022-12-02 22:59:23 +0100
commitff101bda430dda18e6f150ce6915891139ecccd9 (patch)
treedf7906c7c5379307522ddc21634660fc99f02b2d /lib
parent23a05d17ac1d23466ff73efa19576d43d06efe4b (diff)
downloadaerc-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 'lib')
0 files changed, 0 insertions, 0 deletions