Re: [PATCH] TODO: date range queries - check

Subject: Re: [PATCH] TODO: date range queries - check

Date: Thu, 06 Dec 2012 18:53:07 -0800

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: Jameson Graef Rollins


On Thu, Dec 06 2012, Jani Nikula <jani@nikula.org> wrote:
> ---
>  devel/TODO |    9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/devel/TODO b/devel/TODO
> index eb757af..277a997 100644
> --- a/devel/TODO
> +++ b/devel/TODO
> @@ -163,15 +163,6 @@ vs. tag-when-all-files-flagged (* above)).
>  Add an interface to accept a "key" and a byte stream, rather than a
>  filename.
>  
> -Provide a sane syntax for date ranges. First, we don't want to require
> -both endpoints to be specified. For example it would be nice to be
> -able to say things like "since:2009-01-1" or "until:2009-01-1" and
> -have the other endpoint be implicit. Second we'd like to support
> -relative specifications of time such as "since:'2 months ago'". To do
> -any of this we're probably going to need to break down an write our
> -own parser for the query string rather than using Xapian's QueryParser
> -class.
> -

Has this TODO really been resolved?  Do searches like "since:2009-01-1"
or "until:2009-01-1" really now work?  As far as I can tell they don't.
Nor are they documented if they do.

jamie.
part-000.sig (application/pgp-signature)

Thread: