nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Wrong error message for add goods #3550

Open nus-pe-bot opened 2 weeks ago

nus-pe-bot commented 2 weeks ago

Should show that the date itself is invalid (ie month cannot be 13) not that the format is invalid

image.png


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

yanhwee commented 2 weeks ago

Team's Response

The invalidity of the date format implies that the date itself is invalid. The error message correctly specifies that the date should be between 1-12 (MM), as per common date formats.

However, I suppose that it can be clearer.

Duplicate status (if any):

--