Fix bad date format