I have an email where the date is not displayed, neither in the message list nor in the header of the mail. At moment kmail is configured as View->Headers->All headers and Date: and Message-ID: are empty there. When displaying the source of the mail, I get: Message-ID: 66305280236646.00422.8@mrclay.org> and Date: Mon, 07 Apr 2014 16:18:25 -0-100 Reproducible: Always
The time zone appears to be invalid, so it makes certain amount of sense to not show any date in there.
With kmail2 4.11.5 I have: Date not shown in message list. Date not shown in message: Date: Sat, 25 Jun 2005 01:45:33 +-100 Date: Tue, 04 Nov 2008 17:51:09 <control character>0100 Date: Mon, 3 Nov 1997 15:14:20 +100 Date shown as "Unknown" in message list. Date is shown in message: Date: Thu, 24 Apr 2014 12:42:39 +0000 (shown as 2014-04-24 14:42:39) Date: Thu, 24 Apr 2014 17:24:05 +0800 (shown as 2014-04-24 11:24:05) Date: Tue, 06 May 2014 10:02:00 +0000 (shown as 2014-05-06 12:02:00) Date: Thu, 24 Apr 2014 15:30:32 +0200 (CEST) (shown as 2014-04-24 15:30:32) The first three are undeniably invalid, but it appears to be not completely uncommon that the timezone is invalid. It would be neat if kmail2 tried to re-parse the date header ignoring the timezone part. The next three I have no explanation for. They look correct to me. The last one is technically invalid due to the "(CEST)" suffix.
I'm experiencing this bug as well. If DATE tag is missing or if it contains a different date format, KMail displays Unknown. The date contained in the RECEIVED tag is always ignored
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Tested with kmail2 14.14.10 Date in email: Date: Sat, 25 Jun 2005 01:45:33 +-100 Message list: Unknown Message: Unknown Date in email: Date: Tue, 06 May 2014 10:02:00 +0000 Message list: 2014-05-06 12:02 Message: 2014-05-06 12:02 Date in email: Date: Date: Thu, 24 Apr 2014 15:30:32 +0200 (CEST) Message list: Unknown Message: Unknown So the first (+-100) is still Unknown. The second (+0000) is now shown with correct timestamp. And the third (+0200 (CEST)) is now shown as unknown in both message list and message.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.