From 72cbfb826cd7827c92c239d8c1e81024514e211f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 11 Mar 2021 02:45:32 -0800 Subject: doc: glossary: add information for dates and timestamps These have been confusing to me in the past, too. --- lib/PublicInbox/Search.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/PublicInbox/Search.pm') diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index 209969c5..c7d52daf 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -13,9 +13,9 @@ use POSIX qw(strftime); # values for searching, changing the numeric value breaks # compatibility with old indices (so don't change them it) use constant { - TS => 0, # Received: header in Unix time (IMAP INTERNALDATE) + TS => 0, # Received: in Unix time (IMAP INTERNALDATE, JMAP receivedAt) YYYYMMDD => 1, # Date: header for searching in the WWW UI - DT => 2, # Date: YYYYMMDDHHMMSS + DT => 2, # Date: YYYYMMDDHHMMSS (IMAP SENT*, JMAP sentAt) # added for public-inbox 1.6.0+ BYTES => 3, # IMAP RFC822.SIZE -- cgit v1.2.3-24-ge0c7