Bug 207766 - Bogus dates shown in email
Summary: Bogus dates shown in email
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.12.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 11:00 UTC by Michael McLagan
Modified: 2009-09-18 13:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Header showing invalid dates (15.71 KB, image/png)
2009-09-18 11:01 UTC, Michael McLagan
Details
Selected message showing invalid dates. (6.30 KB, application/octet-stream)
2009-09-18 11:02 UTC, Michael McLagan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael McLagan 2009-09-18 11:00:14 UTC
Version:           1.12.1 (using KDE 4.3.1)
OS:                Linux
Installed from:    Fedora RPMs

I recently sent a couple of emails (in the last hour).  The system has the correct date but the display is showing really bad data, 2009-44-18 (or similar, see attached images).

The message itself looks ok:

From mmclagan@  Fri Sep 18 04:44:57 2009
From: Michael McLagan
To: 
Subject: Letter #3
Date: Fri, 18 Sep 2009 04:44:55 -0400
User-Agent: KMail/1.12.1 (Linux/2.6.31; KDE/4.3.1; i686; ; )
Message-Id: <200909180444.55837.>
Comment 1 Michael McLagan 2009-09-18 11:01:20 UTC
Created attachment 37032 [details]
Header showing invalid dates
Comment 2 Michael McLagan 2009-09-18 11:02:10 UTC
Created attachment 37033 [details]
Selected message showing invalid dates.
Comment 3 Thomas McGuire 2009-09-18 13:37:12 UTC
SVN commit 1025319 by tmcguire:

Add unit test for bug 207766, but it doesn't fail.

CCBUG: 207766


 M  +1 -0      testdateparser.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1025319
Comment 4 Thomas McGuire 2009-09-18 13:39:05 UTC
SVN commit 1025320 by tmcguire:

Another test for bug 207766, also passes.

CCBUG: 207766


 M  +8 -0      headertest.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1025320
Comment 5 Thomas McGuire 2009-09-18 13:41:54 UTC
Works fine here, I tried a message with "Fri, 18 Sep 2009 04:44:55 -0400" as a date, and it showed correctly.

Also, the unit tests confirmed that it works.