diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2008-02-07 12:02:40 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2008-02-07 12:02:40 +0000 |
commit | fa9f42a3ec74282c0c9f791c23f534983c7d535e (patch) | |
tree | fb619821b3f3e342a0e5823c6a569595289f8b64 /dev-java/poi/files | |
parent | sparc stable wrt #206684 (diff) | |
download | gentoo-2-fa9f42a3ec74282c0c9f791c23f534983c7d535e.tar.gz gentoo-2-fa9f42a3ec74282c0c9f791c23f534983c7d535e.tar.bz2 gentoo-2-fa9f42a3ec74282c0c9f791c23f534983c7d535e.zip |
Added patch that fixes detection of custom dates and datetimes in HSSFDateUtil.isADateFormat() method
(Portage version: 2.1.4.1)
Diffstat (limited to 'dev-java/poi/files')
-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; + } + |