Mohammed-Faizzzz / pe

0 stars 0 forks source link

Erroneous Exception #10

Open Mohammed-Faizzzz opened 11 months ago

Mohammed-Faizzzz commented 11 months ago

The following command: addappt 2 2026-02-29 throws an error stating that it is an invalid command format. However, the date is valid as 2026 is a leap year.

soc-pe-bot commented 11 months ago

Team's Response

This bug should be rejected as actually, 2026-02-29 is not a valid date, (ie. 2026 is not a leap year). Additionally, the tester's entered command addappt 2 2026-02-29 has formatting issues , missing the d/ prefix in addappt 2 d/2026-02-29 and hence cannot be reproduced.

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: I apologise for the erroneous error message - I mistyped it during the PE. Although I acknowledge that 2026 is not a leap year (I could not google during the PE), my point remains that it throws exceptions for a leap years (eg. 2024). Given these corrections, the error is reproducible.