View Single Post
Old 14 Jul 2023, 08:31 PM   #11
chrisjj
Cornerstone of the Community
 
Join Date: Jul 2003
Posts: 692
Quote:
Originally Posted by BritTim View Post
You ask me when I sent you an email. You search for it using the date I give you.
That's not "after:".

Quote:
Originally Posted by BritTim View Post
Assuming you do not know what time zone I am in (or was in at the time I sent the message) what date do you specify in your search? Are you upset when you fail to find the message using the date I provided to you?
Yes that's an issue, but a distinct issue.

Quote:
Originally Posted by BritTim View Post
If you are the person sending, receiving and searching for the email, everything is simple (as long as JMAP and Fastmail are aware of that).
.. and provided there's no intervening UK "clocks change".

Quote:
Originally Posted by BritTim View Post
In the general case, the most important thing is to know what the search actually does (which the current documentation does not tell you).
The current documentation does tell you. It tells you wrong.

NOTE: Actually, the behaviour of JMAP after is (inadequately) documented in https://jmap.io/spec-mail.html#emailquery

Are we to know that FM searches are "JMAP"?

On "inadequate", I agree. e.g.

"after: UTCDate The receivedAt date-time of the Email must be the same or after this date-time to match the condition."

UTCDate is undefined. Woe betide anyone who guesses it is a date... given it is here apparently being compared to a date-time. Did someone/thing overlook a type conversion error?

Quote:
Originally Posted by BritTim View Post
Obviously, time defaults to 00:00.
Oops. It shouldn't default at all. Day means day - all of it.
chrisjj is offline   Reply With Quote