email date format fix