Skip to content

Commit

Permalink
feat(location): es province should be county as its a 2nd level admin…
Browse files Browse the repository at this point in the history
…istrative area

Allows it to be returned by fakerES.location.county()

Currently it would only work via faker.helpers.fake

https://en.wikipedia.org/wiki/Political_divisions_of_Spain
https://en.wikipedia.org/wiki/Provinces_of_Spain
  • Loading branch information
matthewmayer committed May 13, 2023
1 parent e0e9ae8 commit 83b0528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/es/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import building_number from './building_number';
import city_name from './city_name';
import city_pattern from './city_pattern';
import country from './country';
import county from './county';
import default_country from './default_country';
import postcode from './postcode';
import province from './province';
import secondary_address from './secondary_address';
import state from './state';
import state_abbr from './state_abbr';
Expand All @@ -22,9 +22,9 @@ const location: LocationDefinition = {
city_name,
city_pattern,
country,
county,
default_country,
postcode,
province,
secondary_address,
state,
state_abbr,
Expand Down

0 comments on commit 83b0528

Please sign in to comment.