Return-Path: X-Original-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F051810F27 for ; Wed, 25 Sep 2013 10:25:57 +0000 (UTC) Received: (qmail 63328 invoked by uid 500); 25 Sep 2013 10:20:58 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 63165 invoked by uid 500); 25 Sep 2013 10:20:30 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Received: (qmail 63041 invoked by uid 99); 25 Sep 2013 10:20:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 10:20:05 +0000 Date: Wed, 25 Sep 2013 10:20:05 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: mime4j-dev@james.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (MIME4J-232) Unable to parse date with extra leading space(s) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MIME4J-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski resolved MIME4J-232. -------------------------------------- Resolution: Fixed Fix Version/s: 0.7.3 Fix applied to both trunk and 0.7 branch. Oleg > Unable to parse date with extra leading space(s) > ------------------------------------------------ > > Key: MIME4J-232 > URL: https://issues.apache.org/jira/browse/MIME4J-232 > Project: James Mime4j > Issue Type: Bug > Components: dom > Affects Versions: 0.7.2 > Reporter: Lukas Vlcek > Fix For: 0.7.3, 0.8.0 > > Attachments: improveDateTimeFieldLenientImpl.patch > > > When parsing fields like: "Date: Wed, 28 Mar 2007 13:32:39 +1000" (note double space after colon) it returns null from DateTimeField.getDate() > Example of mails having such date format can be found in the following mbox archive: > http://mail-archives.apache.org/mod_mbox/lucene-java-user/200703.mbox > Specifically message-ids: > Message-ID: > Message-ID: -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira