nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Unclear error message for wrong time input #5052

Open nus-se-script opened 5 months ago

nus-se-script commented 5 months ago

When I enter update 1 -s 2022-04-22 00:00 -e 2022-04-22 24:00, the error message doesn't clearly points out my time 24:00 is wrong. My format is correct and the date does exist.

Screenshot 2024-04-19 at 4.43.06 PM.png


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

cyqjoseph commented 5 months ago

Team's Response

Rejected - specified in the error message that datetime should confrom to the above format. It is known that 24:00 is not a valid time

Duplicate status (if any):

--