[ 
http://issues.apache.org/jira/browse/NUTCH-65?page=comments#action_12320291 ] 

Michael Nebel commented on NUTCH-65:
------------------------------------

I checked out the trunc at 24/Aug/05 and still get some errors:

... can't parse erroneous date: Fri, 29 Okt 2004 11:08:24 GMT
... can't parse erroneous date: Thu, 28 Okt 2004 08:59:16 GMT
... can't parse erroneous date: Thu, 14 Okt 2004 07:17:15 GMT
... can't parse erroneous date: Fri, 08 Okt 2004 12:42:00 GMT
... can't parse erroneous date: Tue, 26 Okt 2004 09:31:48 GMT
... can't parse erroneous date: Tue, 19 Okt 2004 06:03:00 GMT

Attention: it's the german "Okt" for "Oktober" not  "Oct" for the english 
"October". I think, the Local.US is confusing the object. 


> index-more plugin can't parse large set of  modification-date
> -------------------------------------------------------------
>
>          Key: NUTCH-65
>          URL: http://issues.apache.org/jira/browse/NUTCH-65
>      Project: Nutch
>         Type: Bug
>   Components: indexer
>  Environment: nutch 0.7, java 1.5, linux
>     Reporter: Lutischán Ferenc

>
> I found a problem in MoreIndexingFilter.java.
> When I indexing segments, I get large list of error messages:
> can't parse errorenous date: Wed, 10 Sep 2003 11:59:14 or
> can't parse errorenous date: Wed, 10 Sep 2003 11:59:14GMT
> I modifiing source code (I don't make a 'patch'):
> Original (lines 137-138):
> DateFormat df = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy zzz");
> Date d = df.parse(date);
> New:
> DateFormat df = new SimpleDateFormat("EEE, MMM dd HH:mm:ss yyyy", Locale.US);
> Date d = df.parse(date.substring(0,25));
> The modified code works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to