Open Jajared opened 6 months ago
That is not a command word but a parameter.
Command word for this case is "add" and the parameter needed is "t/"
Since you did not specify t/ at the end, the 't' is clearly included in the 'm/' field as a parameter. Hence the error message shown is correct.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
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, #02-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