nus-cs2103-AY1920S2 / pe-dev-response

0 stars 0 forks source link

Unclear error message upon wrong date input #2507

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

Steps to replicate:

  1. launch the app
  2. edit the birthday of the second person by "(ab)edit 2 b/06-32". The following error message show up.

image.png

It is not very clear as the input date string do follows the MM-dd format. It might potentially confuse the user.


[original: nus-cs2103-AY1920S2/pe-interim#2494]

sarahcxh commented 4 years ago

Team's Response

In this case, 06-32 is actually not a MM-DD format because there can't be 32 days in a month. Hence it is being rejected.

Duplicate status (if any):

--