Commit 99722b49 authored by fangxinjiang's avatar fangxinjiang

派单调整

parent 43d6ad78
......@@ -287,8 +287,7 @@ public class DateUtil {
// setLenient avoids allowing dates like 9/32/2001
// which would otherwise parse to 10/2/2001
df.setLenient(false);
return df.parse(dateText);
return df.parse( dateText.replace("/","").replace("-",""));
} catch (ParseException e) {
return null;
......
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