1441 partial fix when inputting invalid characters on date field