handle bad date strings