[RFC PATCH 0/3] add user friendly date range search

Tomi Ollila tomi.ollila at nixu.com
Tue Aug 23 09:53:32 PDT 2011


On Tue 23 Aug 2011 19:39, Jason Woofenden <jason at jasonwoof.com> writes:

> Here's my thoughts on date/range syntax:
>
> I think: date:monday should show only e-mails that arrived on
> monday (not also emails that arrived since then.) Because that's
> what it looks like it does.
>
> I think a very common use of date ranges will be from some time
> until now. So I'd like that to be easy. I suggest this syntax:
>
> 	since:monday
>
> which would be a shorthand for:
>
> 	date:monday-00:00:00..now
>
> If that's not a popular idea, then we should at least be able to
> use this shorthand for the same:
>
> 	date:monday..

This is better, so that us who speaks other languages than English
natively doesn't need to learn (think in) so many english words >;)

So, date:mon[day], date:..mon and date:monday.. would be
something I liked best.

> Also, I think it's quite valuable to have "yesterday" work as a
> date.

I agree.

>
> That's all.
>
>          - Jason

Tomi


More information about the notmuch mailing list