make dateparsing ignore invalid input