Better date parsing error handling.