Open nus-se-script opened 2 weeks ago
This would not be a very common bug as users are likely to key in their own dates correctly. Even if they entered an invalid date, the user would be able to pick up on it and easily correct it. There is no impact on the overall functionality of the application and hence the severity is low.
--
How to reproduce
Input the command
edit-wedding 1 d/2024-11-31
Expected
Program throws an error
Actual
Program accepts the input
Additional info
This is a problem for every month that does not have a 31st day, and for the invalid days for the month of Februrary. Hence, it will be quite a common issue that users face, and the data can end up having many invalid dates, which can be quite harmful.
[original: nus-cs2103-AY2425S1/pe-interim#2582] [original labels: severity.Medium type.FunctionalityBug]