Commit 3f500613 authored by yanzg's avatar yanzg

默认日期格式的支持

parent c22252c4
......@@ -314,8 +314,8 @@ public final class CheckerHelper {
SimpleDateFormat format = new SimpleDateFormat(formatStr);
format.parse(paramVal);
} else {
DateAutoHelper.getAutoDate(paramVal);
formatStr = DateHelper.FORMAT_SECOND_STRING;
DateAutoHelper.getAutoDate(paramVal);
}
} catch (ParseException e) {
this.checkResult = language.format(PARAM_NOT_DATE, paramName, formatStr);
......
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