Skip to content

Appointment added is not checked for valid date #2

Description

@Brominne

An obvious faulty date of appointment can be recorded in the system.

Screenshot 2022-10-28 at 4.52.27 PM.png

From further testing, Any input string after d/ can be accepted
Screenshot 2022-10-28 at 4.54.53 PM.png

Screenshot 2022-10-28 at 4.55.04 PM.png

To improve, follow these steps:

  • check if data is in the correct format of DD/MM/YYYY
  • check if values for day and month is valid for the specific year
  • report errors respectively, if the entry for the field -d/date is not valid

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions