]> Sergey Matveev's repositories - public-inbox.git/commit
search: add YYYYMMDD search range via "d:" prefix
authorEric Wong <e@80x24.org>
Tue, 16 Aug 2016 08:49:26 +0000 (08:49 +0000)
committerEric Wong <e@80x24.org>
Tue, 16 Aug 2016 21:30:57 +0000 (21:30 +0000)
commit1031291ec876cf3791077aa7d564a8bf8561ee1f
treea8c18a9c687e800002dd3ec798af8966face62db
parent3fc411c772a21d8faeec3fde32b101bc86190ddb
search: add YYYYMMDD search range via "d:" prefix

This is similar to mairix in that it uses a "d:" prefix; but
only takes YYYYMMDD, for now.  Using custom date/time parsers
via Perl will be much more work:

nntp://news.gmane.org/20151005222157.GE5880@survex.com

Anyhow, this ought to be more human-friendly than searching by
Unix timestamps, but it requires reindexing to take advantage of.
lib/PublicInbox/Search.pm
lib/PublicInbox/SearchIdx.pm
t/search.t