Describe the bug
Using the editE command, it is possible for the start date to be later than the end date.
To Reproduce
Steps to reproduce the behavior:
Enter editE 1 s/2019-03-30 22:22:22
Expected behavior
There should be an error message that indicates that the start date of an event cannot be after the end date of the event.
Screenshots
Additional note
Am indicating a high severity for this bug because this also affects the calculation of the duration of an event, as now presumable, the duration will turn out to be negative, which will affect other functions if not solved.
Describe the bug Using the editE command, it is possible for the start date to be later than the end date.
To Reproduce Steps to reproduce the behavior:
Expected behavior There should be an error message that indicates that the start date of an event cannot be after the end date of the event.
Screenshots
Additional note Am indicating a high severity for this bug because this also affects the calculation of the duration of an event, as now presumable, the duration will turn out to be negative, which will affect other functions if not solved.
Reported by: @skpai27 Severity: High
[original: nus-cs2103-AY1819S2/pe-dry-run#661]