Commit 7051cde0 authored by Quxl's avatar Quxl

x

parent e31f0384
...@@ -30,7 +30,7 @@ public class DateUtil { ...@@ -30,7 +30,7 @@ public class DateUtil {
public static Object parseDate(String dateString, String fmt) { public static Object parseDate(String dateString, String fmt) {
if ("00000000".equals(dateString)) { if ("00000000".equals(dateString)) {
return "0000-00-00"; return "0000-00-00";
} else { } else {
try { try {
DateFormat df = getFmt(fmt); DateFormat df = getFmt(fmt);
return df.parse(dateString); return df.parse(dateString);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment