Fix bad date syntax