tanjiaxian99 / pe

0 stars 0 forks source link

Incorrect error message for invalid dates #12

Open tanjiaxian99 opened 2 years ago

tanjiaxian99 commented 2 years ago

Steps to reproduce:

  1. add 1 -tnSell Book -td2021-13-31

Expected: Error message: Task date is invalid.

Actual: Error message: Task date should be of format YYYY-MM-DD

image.png

nus-pe-bot commented 2 years ago

Team's Response

As the month is not a within the valid range of 1-12, it is fair to say that the input is not following the correct format. By providing the error message of wrong format, the user can then check the date they entered and realize that they have entered the wrong values

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]