Skip to content

Appointment can be scheduled with invalid day (Past dates) #7

Description

@bbryant824

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)

Screenshot 2024-11-15 at 5.39.13 PM.png

Improvements

Ensure the date entered is passed yet when creating appointment. When the date is already passed, remind the user to input properly.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions