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. --- Documentation/public-inbox-glossary.pod | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Documentation') diff --git a/Documentation/public-inbox-glossary.pod b/Documentation/public-inbox-glossary.pod index e188e563..61e1e9f8 100644 --- a/Documentation/public-inbox-glossary.pod +++ b/Documentation/public-inbox-glossary.pod @@ -83,6 +83,20 @@ the same email into one or more virtual folders for ease-of-filtering. This is NOT tied to public-inbox names, as messages stored by lei may not be public. +=item IMAP INTERNALDATE, JMAP receivedAt, rt: search prefix + +The first valid timestamp value of Received: headers (top first). +If no Received: header exists, the Date: header is used, and the +current time if neither header(s) exist. When mirroring via +git, this is the git commit time. + +=item IMAP SENT*, JMAP sentAt, dt: and d: search prefixes + +The first valid timestamp value of the Date: header(s). +If no Date: header exists, the time from the Received: header is +used, and then the current time if neither header exists. +When mirroring via git, this is the git author time. + =head1 COPYRIGHT Copyright 2021 all contributors L -- cgit v1.2.3-24-ge0c7