Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appointment added is not checked for valid date #2

Open
Brominne opened this issue Oct 28, 2022 · 0 comments
Open

Appointment added is not checked for valid date #2

Brominne opened this issue Oct 28, 2022 · 0 comments

Comments

@Brominne
Copy link
Owner

Brominne commented Oct 28, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant