[PATCH v4] Re: make maxage use UIDs to avoid timezone issues

Abdó Roig-Maranges abdo.roig at gmail.com
Mon Apr 6 22:35:32 BST 2015



> Yes. That's why I don't understand why you make distinction between
> "IMAP internal date" and "rtime". They should be the same thing.

I did it to emphasize that in the context rtime appears in the code, it means
something about the remote folder (different from self), as opposed to mtime
that refers to the folder that has this code (self).

The difference between when we use the variable mtime or rtime in the code is
not as much what specific kind of timestamp it represents (it is loosely
speaking about the last time something happened to the message), but whether we
are dealing with the local or the remote message.

And what I suggested is that we treat IMAP modification times internally to
IMAPFolder, the same way we treat file mtimes internally in GmailMaildir, and
expose it outside the class via the same interface. 



> I can't tell for now. Wait for the coming cycle about deep refactoring.
> I intend this cycle for big changes like this. ,-)

Ok! :)

Abdó.




More information about the OfflineIMAP-project mailing list