Open nus-pe-bot opened 5 months ago
Since the app allows clinic managers to handle appointments, it is not very useful for the app to allow users to input past dates, especially the year 1819 (when computers are not even invented yet)
add n/hanni pham p/87654321 a/999A t/friend d/06/02/1819 10am-12pm
App should reject this person and throw an error, since we should'nt be able to create an appointment in the past.
New person added successfully.
Severity: Low, since it is a very rare situation/unlikely to happen. BugType: FeatureFlaw, since it a product design issue.
[original: nus-cs2103-AY2324S2/pe-interim#4700] [original labels: severity.Low type.FeatureFlaw]
It is possible that a clinic would be migrating past records. We picked 1819, since that is the founding date of Singapore by Sir Stamford Raffles.
--
Description
Since the app allows clinic managers to handle appointments, it is not very useful for the app to allow users to input past dates, especially the year 1819 (when computers are not even invented yet)
Steps to reproduce
add n/hanni pham p/87654321 a/999A t/friend d/06/02/1819 10am-12pm
Expected Behaviour
App should reject this person and throw an error, since we should'nt be able to create an appointment in the past.
Actual Behaviour
New person added successfully.
Label elaboration
Severity: Low, since it is a very rare situation/unlikely to happen. BugType: FeatureFlaw, since it a product design issue.
[original: nus-cs2103-AY2324S2/pe-interim#4700] [original labels: severity.Low type.FeatureFlaw]