Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-912 - MoreIndexingFilter does not parse docx and xlsx date formats

Markus Jelsma985ab8f59f12
diff --git a/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java b/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java
index 28db35921..cba7a6189 100644
--- a/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java
+++ b/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java
@@ -150,7 +150,8 @@ public class MoreIndexingFilter implements IndexingFilter {
"dd MM yyyy HH:mm:ss zzz",
"dd.MM.yyyy; HH:mm:ss",
"dd.MM.yyyy HH:mm:ss",
- "dd.MM.yyyy zzz"
+ "dd.MM.yyyy zzz",
+ "yyyy-MM-dd'T'HH:mm:ss'Z'"
});
time = parsedDate.getTime();
// if (LOG.isWarnEnabled()) {