Work with bad dates that are sometimes found in the API