[ 
https://issues.apache.org/jira/browse/TIKA-1976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289200#comment-15289200
 ] 

Tim Allison commented on TIKA-1976:
-----------------------------------

I also ran tests for dates < 1980 or > 2017.  I found that mime4j is parsing 
~275 dates before 1980.  Mostly of these formats, which are parsed as the year 
95 A.D.

{noformat}
Fri, 27 Oct 95 12:20:26 -0500
14 Dec 95 00:16:22 GMT 
{noformat}

> Add more robust date parsing fallbacks for RFC822 parser
> --------------------------------------------------------
>
>                 Key: TIKA-1976
>                 URL: https://issues.apache.org/jira/browse/TIKA-1976
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>            Reporter: Tim Allison
>            Priority: Minor
>         Attachments: rfc822_unparseable_dates.zip, 
> rfc822_unparseable_dates_after_TIKA-1976.txt
>
>
> On TIKA-1970, [[email protected]], reported that the 
> RFC822Parser was not parsing a date in text file created by Mac Mail.  For 
> kicks, I ran the RFC822Parser against roughly 19k files in our regression 
> corpus identified as rfc822 by either Tika, file or Droid, and I found that 
> ~3700 files (~20%) had dates that weren't parseable. 
> Upon first look, there seem to be a few major patterns that will fix most of 
> the problems.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to