Bug 396850

Summary: Incorrect RFC822 timezone parsing in mail Date field
Product: [Applications] kmail2 Reporter: Nicholas Sushkin <nsushkin>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: email message whose date is displaying incorrectly

Description Nicholas Sushkin 2018-07-25 16:31:54 UTC
I received an email with Date header in the following format:

Date: Wed, 25 Jul 2018 10:55:49 CDT

In message list and message view, the email date is displayed as 6:55 AM. I am in in US Eastern time zone. The proper date in EDT is 11:55 AM.

I looked at all other messages whose date is displayed correctly and their date header has timezone in ("+" / "-") 4DIGIT format. Is it possible kmail2 has parsing issues with timezone specified as CDT? After all, "Wed, 25 Jul 2018 10:55:49 +0000" is 6:55AM EDT.

RFC 822 allows CDT as a time zone, see https://tools.ietf.org/html/rfc822#section-5.1


This is Ubuntu 16.04.5 LTS, KMail 5.1.3
Comment 1 Nicholas Sushkin 2018-07-25 16:34:21 UTC
Created attachment 114119 [details]
email message whose date is displaying incorrectly
Comment 2 Christoph Feck 2018-08-18 09:57:33 UTC
Please test with a newer KMail version.