You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
Expected behavior

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.
Screenshots

Additional context
Nil