Uploaded image for project: 'James Mime4j'
  1. James Mime4j
  2. MIME4J-232

Unable to parse date with extra leading space(s)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.2
    • 0.7.3, 0.8.0
    • dom
    • None

    Description

      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: <euclk4$i33$1@sea.gmane.org>
      Message-ID: <eucnk5$qo4$1@sea.gmane.org>

      Attachments

        Activity

          People

            Unassigned Unassigned
            lukas.vlcek Lukas Vlcek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: