The datepicker always sends the current day as the date. It does not send the date that was selected. The logic for checking if the date is valid should also be handled by the controller and not the model.
Original comment by Zach Ball (Bitbucket: ZachBall, GitHub: ZachBall).
Issue was with sortPost.py. Any input date was being reset to the current date. Also, I think that the logic should remain in the function for creating a user in the model page, not the controller.
Original report by Kye Hoover (Bitbucket: eykrevooh, GitHub: eykrevooh).
The datepicker always sends the current day as the date. It does not send the date that was selected. The logic for checking if the date is valid should also be handled by the controller and not the model.