| Summary: | Incorrect return cause by wrong inpuut date | ||
|---|---|---|---|
| Product: | Event Management System | Reporter: | mankitse3-c |
| Component: | Backend | Assignee: | mankitse3-c |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | CC: | mankitse3-c |
| Priority: | --- | ||
| Version: | 1 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
|
Description
mankitse3-c
2020-11-10 22:57:00 HKT
if (this.isValidDay(sDayParts[0]) && this.isValidMonth(sDayParts[1]) && this.isValidYear(sDayParts[2]) && sDayParts.length == 3 ) change to if (sDayParts.length == 3 && this.isValidDay(sDayParts[0]) && this.isValidMonth(sDayParts[1]) && this.isValidYear(sDayParts[2]) ) |