Open Tsenrae opened 7 months ago
This bug report is invalid as 2021 is not a leap year.
Furthermore, this error message clearly states that the date "2021-02-29" is invalid.
Team chose [response.Rejected
]
Reason for disagreement: I acknowledge my mistake in my bug description, Error message saying that the date is invalid as 2021 is a leap year.
The correct description should be Error message saying that date is invalid as 2021 is NOT a leap year.
However, this does not invalidate my bug as the error message given is still unclear.
Following your screenshot, you are arguing that the date 2021-02-29
is invalid, hence it should be taken as a format error, and hence the error message given is correct. However, this argument is incorrect as the reason why 2021-02-29
is an invalid input is *not** because Februrary dosen't have 30 days, but because for the specific year 2021, February 29 does not exist as 2021 is not a leap year. Thus, it is insufficient to just say that 2021-02-29
is a format error as if the date given is 2020-02-29
instead, the date will be accepted as 2020 is a leap year, and hence February 29 exists for that year. Thus, you would not be giving sufficient information to the user by simply saying 2021-02-29
is in the wrong format, as this might lead the user to misinterpret it and think that February 29 would always be an incorrect date regardless of the year. The correct error message should be more clear, saying that 2021-02-29 is an invalid date as 2021 is a leap year
. This would then provide a very clear message to the user as to exactly why the certain date is invalid, and leave no room for misinterpretation.
Steps to reproduce:
rsv 1 d/2021-02-29 t/1800 p/8
Expected: Error message saying that the date is invalid as 2021 is a leap year.
Actual: Unclear error message only saying that date is invalid.