[PATCH v3 6/9] lib: add date range query support

David Bremner david at tethera.net
Thu Sep 13 05:32:30 PDT 2012


Michal Nazarewicz <mina86 at mina86.com> writes:

> IMO this is totally unintuitive and not how the range should work.
> date:foo..bar should return messages whose date >= foo and < bar.  So
> for instance date:november..yesterday should return messages whose date
> is > 2012/11/01 00:00:00 and < 2012/09/12 00:00:00.  So to get
> yesterdays messages one would do: date:yesterday..today.

I don't find ranges being half-open by default to be very
intuitive. Perhaps I don't program in python enough.

d



More information about the notmuch mailing list