Open Joellimjr opened 3 months ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Entered in invalid date but was still added into sleep list
Entered 31/02/2000 into command line, expected error message but it added 29/02/2000 into sleep list
[original: nus-cs2113-AY2324S2/pe-interim#2554] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
Accepted that this is of medium severity, but this is a feature flaw, as instead of adding the hours to an invalid sleep cycle, we have assigned it to a nearer date, if the day is between 1-31.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Adding a sleep cycle on a day that does not exist does not throw an error but instead adds a sleep cycle on the last valid date