Appointment can be scheduled with invalid day (Past dates)
Description
Appointment can be scheduled from dates in the past which is not meaninful, as it could be due to error in typing, however, it would be added as wrong information which caused potential missing reminders when user type today, causing problems to the addressbook. Hence, causing the feature flaws.
steps to reproduce
lauch the app and type
apt 1 d/091023 fr/1000 to/1200
Expected:
error message saying 2023 is a past date, input valid upcoming days
Actual:
Appointment created with message:
Appointment scheduled for Bernice y on:
Date: 09-10-23 (From: 10:00 To: 12:00)

Improvements
Ensure the date entered is passed yet when creating appointment. When the date is already passed, remind the user to input properly.
Appointment can be scheduled with invalid day (Past dates)
Description
Appointment can be scheduled from dates in the past which is not meaninful, as it could be due to error in typing, however, it would be added as wrong information which caused potential missing reminders when user type today, causing problems to the addressbook. Hence, causing the feature flaws.
steps to reproduce
lauch the app and type
apt 1 d/091023 fr/1000 to/1200Expected:
error message saying 2023 is a past date, input valid upcoming days
Actual:
Appointment created with message:
Appointment scheduled for Bernice y on:
Date: 09-10-23 (From: 10:00 To: 12:00)
Improvements
Ensure the date entered is passed yet when creating appointment. When the date is already passed, remind the user to input properly.