OpenNutriTracker icon indicating copy to clipboard operation
OpenNutriTracker copied to clipboard

Bug: App accepts future birth dates

Open isacostaf opened this issue 7 months ago • 1 comments

Bug description: The program accepts a birth date that is later than the current date. This allows users to input a future birth date, which shouldn't be allowed.

Expected behavior: Future birth dates should be rejected, since the user cannot be born in the future. Also, in my opinion the program shouldn't even accept too recent birth dates since kids shouldn't use the app, but this is just a personal opinion.

Environment: Web (Chrome)

Possible solution: Add validation to check if the entered birth date is not today's date or after today's date.

isacostaf avatar May 14 '25 10:05 isacostaf

#218 implents input validation for the date of Birth, you can now select a date between 130 years ago and yesterday

JEdits20 avatar May 17 '25 12:05 JEdits20