about summary refs log tree commit homepage
path: root/t
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 /t
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 't')
-rw-r--r--t/imap_searchqp.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/imap_searchqp.t b/t/imap_searchqp.t
index 049fd680..6b4121ea 100644
--- a/t/imap_searchqp.t
+++ b/t/imap_searchqp.t
@@ -76,17 +76,17 @@ is($q->{xap}, 'c:"b" d:..19931002', 'compound query w/ parens');
         $q = $parse->($s = qq{BEFORE 2-Oct-1993});
         is_deeply($q->{sql}, \" AND ts <= $t0", 'BEFORE SQL');
         $q = $parse->("FROM z $s");
-        is($q->{xap}, qq{f:"z" ts:..$t0}, 'BEFORE Xapian');
+        is($q->{xap}, qq{f:"z" rt:..$t0}, 'BEFORE Xapian');
 
         $q = $parse->($s = qq{SINCE 2-Oct-1993});
         is_deeply($q->{sql}, \" AND ts >= $t0", 'SINCE SQL');
         $q = $parse->("FROM z $s");
-        is($q->{xap}, qq{f:"z" ts:$t0..}, 'SINCE Xapian');
+        is($q->{xap}, qq{f:"z" rt:$t0..}, 'SINCE Xapian');
 
         $q = $parse->($s = qq{ON 2-Oct-1993});
         is_deeply($q->{sql}, \" AND ts >= $t0 AND ts <= $t1", 'ON SQL');
         $q = $parse->("FROM z $s");
-        is($q->{xap}, qq{f:"z" ts:$t0..$t1}, 'ON Xapian');
+        is($q->{xap}, qq{f:"z" rt:$t0..$t1}, 'ON Xapian');
 }
 
 {