Skip to content

When user keys in an invalid, date wrong error message is displayed #7

@Runus01

Description

@Runus01

When an invalid date is accepted (e.g. 30-02-2024) and saved as 29-02-2024. Any date keyed in for Feb which is greater than or equal to 30. Eg. (31-02-2024 or 33-02-2024) will give an incorrect error message as it will try to be saved as 29-02-2024.

The expected error message is Invalid date provided but the actual error message given is The patient or doctor has an appointment at the given time. This would not make sense to the user. For instance, if they accidentally keyed in 31-02-2024 when they meant 31-03-2024. They would know why this date is being rejected due to a clash when no clash can be seen for 31-03-2024.

image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions