MiloTruck / pe

0 stars 0 forks source link

24:00 is accepted as a valid HH:mm #11

Open MiloTruck opened 1 week ago

MiloTruck commented 1 week ago

Description:

24:00 is not a valid timestamp, as it should be 00:00 instead. However, the application accepts that as a valid timestamp in the addapp command for start and end time.

Steps to reproduce:

Enter the following command:

addapp nric/S6283947C d/31/02/2025 start/24:00 end/11:00

The appointment will be stored with start time as 00:00.