bug 7826: Check for correct date range. Make DateFormat strict (turn off lenient)

status 7826: resolved fixed
This commit is contained in:
kishan 2011-08-05 19:44:44 +05:30
parent c009b56a60
commit 695abd5c5a
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ public class ApiDispatcher {
}
}else{
DateFormat format = BaseCmd.INPUT_FORMAT;
format.setLenient(false);
synchronized (format) {
field.set(cmdObj, format.parse(paramObj.toString()));
}