LuYiting0913 / pe

0 stars 0 forks source link

Error message not accurate for incorrect date format #2

Open LuYiting0913 opened 1 year ago

LuYiting0913 commented 1 year ago

image.png error message for invalid date/time is too universal.

Behavior is not specified and differs from normal expectations

nus-pe-script commented 1 year ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Incorrect error message on an invalid date

When adding a date that does not exist, the error message does not indicate appropriately that the date is invalid. For example, in the image below I used 29-02-2022 2359, which does not exist, but the error message is telling me the format is invalid. This could hinder the user in the event that he or she inputs a date that does not exist. Additionally, nothing was mentioned in the user guide with respect to dates.

image.png


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

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

Thank you for catching this bug.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]