[imp] Dates read incorrectly in current HEAD DIMP (and IMP)

Tim Bannister Tim.Bannister at manchester.ac.uk
Fri Aug 31 12:58:56 UTC 2007


> I've had a problem for a while with messages from a particular sender  
> not date-sorting correctly.  The date header from a recent message  
> appears as:
> 
> Date: 8/30/2007 5:59:28 PM
> 
> DIMP shows the date column as simply "05:59:28 PM", and it appears  
> before a message dated 1/30/02.
> 
> While I'm at it, there is another date header that doesn't seem to  
> sort correctly:
> 
> Date: 12/08/03 20:16:07
> 
> For this message, the date is shown correctly, but it sorts as before  
> the 1/30/02 message.

The IMAP server isn't able to supply a sane Date: header here (because
the sending mail system put in something invalid). Would it be better to
use the value of INTERNALDATE (available from the IMAP server) when the
Date: header doesn't parse?

-- 
Tim Bannister
IT Services

e: Tim.Bannister at manchester.ac.uk
w: http://www.manchester.ac.uk/itservices


More information about the imp mailing list