From b657599a6c114db64bfaa3345bd4139f5bbd237f Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 12 Oct 2015 18:34:30 +0000 Subject: [PATCH] * added support for additional date patterns like "25 July 2014" or "8 Sep 2015" --- source/net/filebot/similarity/DateMatcher.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/source/net/filebot/similarity/DateMatcher.java b/source/net/filebot/similarity/DateMatcher.java index 509c6720..bb8469bf 100644 --- a/source/net/filebot/similarity/DateMatcher.java +++ b/source/net/filebot/similarity/DateMatcher.java @@ -16,7 +16,7 @@ public class DateMatcher { private final DatePattern[] patterns; public DateMatcher() { - patterns = new DatePattern[4]; + patterns = new DatePattern[6]; // match yyyy-mm-dd patterns like 2010-10-24, 2009/6/1, etc patterns[0] = new NumericDatePattern("(?