ajency / cashflow-issue-tracker

Issue Tracker for issues
0 stars 1 forks source link

BUG - Support different date formats for the api. Reports/ transactional. Also reflect the supported formats in the response message #826

Closed HazelColaco19 closed 4 years ago

HazelColaco19 commented 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:

  1. Add the above format in message in Api error response:

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",

legred21 commented 4 years ago

The above said formats are now supported and error message is also updated

HazelColaco19 commented 4 years ago

Fixed format image

Message image