nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Past exam datetime is allowed #2678

Open nus-se-script opened 6 months ago

nus-se-script commented 6 months ago

User Input: addexam -id 000001 -exam Computing -date 2024-04-19 -time 00:00 addexam -id 000001 -exam Computing -date 2024-04-19 -time 00:01

While a past date, before 19-April-2024 as of the PE, is properly blocked, a timing that has past is not. My user input should suggest the exam time is 19-April-2024, midnight and 12.01am respectively. The user input was keyed in on 19-April-2024 4.48pm

Expected: Error to show that the exam has already past. Actual: Exam is accepted.

image.png


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

MarcusGitty commented 6 months ago

Team's Response

It's stated in the UG that exams that is before the current time but on the same day can be inputted. image.png

Duplicate status (if any):

--