-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Describe the bug
The add command is not handled correctly when given the wrong input (specifically a partial input)
To Reproduce
Steps to reproduce the behavior:
- Run the command 'add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, Clients with duplicate phone numbers allowed to be added #2-25 m/2024-07-12 12:00 t'.
- An error message indicating invalid date appears
Originally i wanted to run the command 'add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #2-25 m/2024-07-12 12:00 t/Friends'.
It is stated in the UG that any extra inputs in the command will not be regarded as part of the command. In this case, it seems like the extra 't' is regarded as part of the date and is thus throwing me a date format error. While this might seem very trivial, there may be instances where users may make a typo or may not complete their command input.
Additional context
Nil
Reactions are currently unavailable

