* [PATCH] TODO: update entry on date range queries
@ 2013-01-22 18:19 Jani Nikula
2013-01-24 11:31 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: Jani Nikula @ 2013-01-22 18:19 UTC (permalink / raw)
To: notmuch
---
devel/TODO | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/devel/TODO b/devel/TODO
index eb757af..9eaa7bd 100644
--- a/devel/TODO
+++ b/devel/TODO
@@ -163,12 +163,13 @@ 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
+Improve syntax for date ranges queries. date:expr should be
+interpreted as date:expr..expr so that, for example, "date:2013-01-22"
+would cover the whole of the specified day (currently that's not even
+recognized as a date range expression). It might be nice to be able to
+use things like "since:2013-01-22" and "until:2013-01-22" as synonyms
+to "date:2013-01-22.." and "date:..2013-01-22", respectively. To do
+any of this we're probably going to need to break down and write our
own parser for the query string rather than using Xapian's QueryParser
class.
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-24 11:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-22 18:19 [PATCH] TODO: update entry on date range queries Jani Nikula
2013-01-24 11:31 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).