Bug 115829

Summary: alphabetic timezone is misinterpreted
Product: [Applications] kmail Reporter: Benno Schulenberg <bensberg>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kollix
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Benno Schulenberg 2005-11-06 23:58:26 UTC
Version:            (using KDE KDE 3.4.3)
Installed from:    Gentoo Packages
Compiler:          gcc-3.3.6 
OS:                Linux

When a received email contains an alphabetic timezone indication in its Date field (instead of +0n00 or -0n00), this alphabetic name is sometimes misinterpreted.

For example, EET is treated as -0500; it is apparently misrecognized as EST.  But RFC-2822 explicitly states:
''Any such time zone whose meaning is not known SHOULD be considered equivalent to "-0000"''.

So KMail should either interpret EET correctly as +0200, or recognize it as unknown and therefore treat it as -0000.  It should not misinterpret it as -0500.

(This is related to bug 73585, where an alphabetic timezone was misinterpreted as -1200, but that one was IMO mistakenly closed as a duplicate of something else.)
Comment 1 Martin Koller 2009-08-30 18:25:12 UTC
I think this problem has been already solved with https://bugs.kde.org/show_bug.cgi?id=117848#c1

If you can still reproduce it, please attach such a test mail here and reopen.

*** This bug has been marked as a duplicate of bug 117848 ***