about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-01-13 19:06:22 -1200
committerEric Wong <e@80x24.org>2021-01-14 23:14:08 +0000
commitd1a287d4eede2c1112b73980871efb5e0203c6f3 (patch)
tree06db464ef56fc11d7ad0d73eeafec489c1018665 /lib/PublicInbox/Search.pm
parent97a3b1b79eda65b494e9c01bc99afb4df33a32d5 (diff)
downloadpublic-inbox-d1a287d4eede2c1112b73980871efb5e0203c6f3.tar.gz
Meaning "Received time", as it is the best description of the
value we use from the "Received:" header, if present.  JMAP
calls it "receivedAt", but "rt:" seems like a better
abbreviation being in line with "dt:" for the "Date" header.

"Timestamp" ("ts") was potentially ambiguous given the presence
of the "Date" header.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index 7f68ee01..a4b40f94 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -376,7 +376,7 @@ sub qparse_new ($) {
 
         # for IMAP, undocumented for WWW and may be split off go away
         $cb->($qp, $NVRP->new(BYTES, 'bytes:'));
-        $cb->($qp, $NVRP->new(TS, 'ts:'));
+        $cb->($qp, $NVRP->new(TS, 'rt:'));
         $cb->($qp, $NVRP->new(UID, 'uid:'));
 
         while (my ($name, $prefix) = each %bool_pfx_external) {