Open raynerljm opened 2 years ago
Thank you for raising this issue.
However, we are choosing to reject this issue as we believe that most users should be able to check and understand that the input is an invalid time.
Furthermore, if the user is still unsure about the error message displayed, the error summary table in the UG can help to point them in the right direction.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
Bug: Error message when an invalid time is provided is misleading
Description: When inputting an invalid time (2400) BUT the time format is correct (HHmm), the error message displayed is 'DateTime should be formatted as dd-MM-yyyy HHmm; e.g. 30-04-2022 1400'. I do acknowledge that in the UG under
Interpreting Errors
section:this is mentioned. However, it would be clearer for the users if the error message itself clarified the error instead of users having to refer to the UG to understand.
Steps to reproduce: Enter the command add n/123 u/123.com d/24-02-2023 2400 dur/24 m/6 r/N
Expected outcome: The error message should be about the validity of the time, not about the date time format.
Actual outcome: The error message given informs me that I have provided an incorrect date format.