You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by "Lukas Vlcek (JIRA)" <mi...@james.apache.org> on 2013/09/24 17:04:02 UTC

[jira] [Updated] (MIME4J-232) Unable to parse date with extra leading space(s)

     [ https://issues.apache.org/jira/browse/MIME4J-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Vlcek updated MIME4J-232:
-------------------------------

    Attachment: improveDateTimeFieldLenientImpl.patch

Proposed patch
                
> 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.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: <eu...@sea.gmane.org>
> Message-ID: <eu...@sea.gmane.org>

--
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