Closed nus-pe-script closed 5 years ago
Describe the bug Adding a future event (for example in 2019), can be done to a person's "history"
To Reproduce Steps to reproduce the behavior:
Expected behavior It should return a prompt to say that it is invalid?
Screenshots
Reported by: @tttaus Severity: Medium
Medium
[original: nusCS2113-AY1819S1/pe-1#660]
A command exception for invalid future dates has been implemented so users will only be able to add medical history entries of the current day or before today. The constraint updates with real time.
Describe the bug Adding a future event (for example in 2019), can be done to a person's "history"
To Reproduce Steps to reproduce the behavior:
Expected behavior It should return a prompt to say that it is invalid?
Screenshots![untitled8](https://user-images.githubusercontent.com/36601527/47908302-e5cbd880-dec7-11e8-8b19-7c439f190eeb.png)
Reported by: @tttaus Severity:
Medium
[original: nusCS2113-AY1819S1/pe-1#660]