ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #490] Fixed bug using LocalDate objects to make the comparison.
This commit is contained in:
parent
02b59c55c5
commit
1f8c4202cf
1 changed files with 1 additions and 1 deletions
|
|
@ -483,7 +483,7 @@ public abstract class BaseCalendarEditionController extends
|
|||
} else {
|
||||
Clients.closeErrorBox(dateboxEndDate);
|
||||
}
|
||||
if (startDate.compareTo(endDate) > 0) {
|
||||
if (new LocalDate(startDate).compareTo(new LocalDate(endDate)) > 0) {
|
||||
throw new WrongValueException(
|
||||
dateboxEndDate,
|
||||
_("Exception end date should be greater or equals than start date"));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue