Closed HazelColaco19 closed 4 years ago
Describe the bug Currently only yyyy-MM-dd date format is supported. It also supports DD-MM-YYYY
Expected:
1.Need to include the following formats:
DD/MM/YYYY
yyyy/MM/dd
Current message: "message": "Date format is invalid. kindly use yyyy-MM-dd date format",
Change To message: "message": "Date format is invalid. kindly use yyyy-MM-dd OR dd-mm-yyyy OR dd/mm/yyyy OR yyyy/mm/dd date format",
The above said formats are now supported and error message is also updated
Fixed format
Message
Describe the bug Currently only yyyy-MM-dd date format is supported. It also supports DD-MM-YYYY
Expected:
1.Need to include the following formats:
DD/MM/YYYY
yyyy/MM/dd
Current message: "message": "Date format is invalid. kindly use yyyy-MM-dd date format",
Change To message: "message": "Date format is invalid. kindly use yyyy-MM-dd OR dd-mm-yyyy OR dd/mm/yyyy OR yyyy/mm/dd date format",