parse-address-string icon indicating copy to clipboard operation
parse-address-string copied to clipboard

City & State are incorrect when city name match a US state name

Open dekelev opened this issue 3 years ago • 0 comments

When parsing address that contains only city & state and the city name matches a state name, then parsing would probably be incorrect.

Parsing address like New York, NY results with:

{
  street_address1: null,
  city: 'NY',
  state: 'New York',
  postal_code: null,
  country: null
}

dekelev avatar Jul 09 '21 12:07 dekelev