Fix bad date format for Safari.