nus-cs2103-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Invalid Datetimes Accepted #3139

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

image.png

Invalid date times for timetable as well as other time-related functions are accepted. This is contrary to the UG, where it is stated that datetime formats should be strictly followed


[original: nus-cs2103-AY2021S2/pe-interim#3139] [original labels: severity.Medium type.FunctionalityBug]

glatiuden commented 3 years ago

Team's Response

Dear responder, thank you for highlighting this issue. However, we have considered this issue, but it's a limitation of Java's DateTimeFormatter API as the date you have entered does seems to be in a valid format, but not a valid datetime. Our UG did not restrict user to not entering invalid datetime format but not an invalid datetime as we are unsure how the API will handle it. As it does not hinders the operation of the application itself, we would like to decline this as a bug.

Duplicate status (if any):

--