diff options
Diffstat (limited to 'dev-java/poi/files/poi-3.0.2-isADateFormat.patch')
-rw-r--r-- | dev-java/poi/files/poi-3.0.2-isADateFormat.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-java/poi/files/poi-3.0.2-isADateFormat.patch b/dev-java/poi/files/poi-3.0.2-isADateFormat.patch new file mode 100644 index 000000000000..d4743148ef04 --- /dev/null +++ b/dev-java/poi/files/poi-3.0.2-isADateFormat.patch @@ -0,0 +1,11 @@ +--- ./src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java.orig 2008-02-07 12:02:57.000000000 +0100 ++++ ./src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java 2008-02-07 12:29:17.000000000 +0100 +@@ -210,7 +210,7 @@ + + // Otherwise, check it's only made up of: + // y m d - / , +- if(fs.matches("^[ymd\\-/, ]+$")) { ++ if(fs.matches("^[yYmMdDhHsS\\-/,. :]+$")) { + return true; + } + |