nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Error message is inaccurate #3187

Open nus-se-script opened 2 weeks ago

nus-se-script commented 2 weeks ago

Bug description: when trying to edit an event, specifically the date the event falls on, the error message shown is a little odd. im not sure of whether the lower tail of the letter 'y' was cut off or if the error message is actually meant to be uuuu instead of yyyy. If it is meant to be uuuu, it is not clear on what uuuu represents. In the user guide, it says that it is supposed to be yyyy.

Steps to reproduce:

  1. enter edit e/1 on/ into the command box

Expected: throws an error message

Date must be in any of the following formats:

  1. dd-MM-yyyyy
  2. yyyy-MM-dd
  3. dd MMM yyyy
  4. dd MMMM yyyy

Actual: throws an error message

Date must be in any of the following formats:

  1. dd-MM-uuuu
  2. uuuu-MM-dd
  3. dd MMM uuuu
  4. dd MMMM uuuu

Screenshots:

image.png


[original: nus-cs2103-AY2425S1/pe-interim#1928] [original labels: severity.Low type.FunctionalityBug]

hanscau commented 1 week ago

Team's Response

No details provided by team.

Duplicate status (if any):

--