Problems parsing mail date

Rajko Albrecht <[email protected]>
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
hi,

It seems that there is a bug with the mail-datetime parsing function. below is 
a (SPAM-)mail header which contains a correct date as I see but libetpan 
returns a broken date-time value (mailimf_date_time).

For a better check I called mailimf_date_time_parse(..) directly and it 
returns a date 1993-02-28 midnight - may be this is a default. Via the global 
interface it returns an empty datetime value. I think this is not correct, do 
you run into troubles with the missing +0000 before the "GMT"?

cu

Rajko

=== snip ===
 Message-Id: <869049087865478.UELKXNVDYJ-DVMQ0Vekzmh0ubjbjo6WXg@public.gmane.org>
To: [email protected],
 [email protected],
 [email protected]
From: "Jacqueline vonderHoehe" <[email protected]>
Subject: Psst: Der Rufnummern-Spion  (helfen )
Date: Fri, 15 October 2004 01:20:52 GMT
MIME-Version: 1.0
Content-Type: text/plain;
  charset=iso-8859-1
Reply-To: [email protected]
X-Priority: 5
X-MSMail-Priority: Low
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Mailer: USANET web-mailer (34FM.0700.4.03)
X-Virus-Scanned: by q1--q2
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on alwin.at.home
X-Spam-Level: 
X-Spam-Status: No, hits=0.9 required=4.5 tests=MISSING_OUTLOOK_NAME,
 REMOVE_PAGE autolearn=no version=2.64
X-UID: 296

=== snip ===


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.