CS2103-AY1819S2-W16-1 / main

UniLA
https://cs2103-ay1819s2-w16-1.github.io/main/
0 stars 1 forks source link

event time accepts values greater than 23:59:59 #148

Closed nus-se-bot closed 5 years ago

nus-se-bot commented 5 years ago

Describe the bug Specifying the time for an event allows invalid values. eg larger than 23:59:59

To Reproduce Steps to reproduce the behavior:

  1. addE n/careedrdd talk d/dcdompany info session v/com1 level2 s/2019-01-31 99:00:00 e/2019-01-31 14:00:00 l/important

Expected behavior It should return an invalid date/time command

Screenshots image


Reported by: @jeffgan96 Severity: Medium

[original: nus-cs2103-AY1819S2/pe-dry-run#219]

jwl1997 commented 5 years ago

bug fixed, thanks!