]> Sergey Matveev's repositories - public-inbox.git/commit
search: expand "d:" to "dt:" for precision with approxidate
authorEric Wong <e@80x24.org>
Fri, 16 Apr 2021 23:43:06 +0000 (18:43 -0500)
committerEric Wong <e@80x24.org>
Sat, 17 Apr 2021 02:24:44 +0000 (22:24 -0400)
commitfd3b46aa0577d62553f61054270db6626ccc6759
tree7789d2d2914be5e8026d82a5607b7746c460db29
parent4ccc021183fe691c3229ff36e54ded8b305fcb71
search: expand "d:" to "dt:" for precision with approxidate

If a user specifies "d:" with a higher precision than it was
traditionally able to handle, switch transparently to "dt:".
This lowers the learning curve and improves DWIM-ness.

v2: fix "d:YYYYMMDD..$NEEDS_APPROXIDATE" case
lib/PublicInbox/Search.pm
t/search.t