diff options
| -rw-r--r-- | src/locales/en_CA/location/country_code.ts | 2 | ||||
| -rw-r--r-- | src/locales/en_CA/location/index.ts | 2 | ||||
| -rw-r--r-- | src/locales/fr_CA/location/country_code.ts | 2 | ||||
| -rw-r--r-- | src/locales/fr_CA/location/index.ts | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/locales/en_CA/location/country_code.ts b/src/locales/en_CA/location/country_code.ts new file mode 100644 index 00000000..75683672 --- /dev/null +++ b/src/locales/en_CA/location/country_code.ts @@ -0,0 +1,2 @@ +// [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) +export default [{ alpha2: 'CA', alpha3: 'CAN', numeric: '124' }]; diff --git a/src/locales/en_CA/location/index.ts b/src/locales/en_CA/location/index.ts index 8103ffb4..04ccff07 100644 --- a/src/locales/en_CA/location/index.ts +++ b/src/locales/en_CA/location/index.ts @@ -5,6 +5,7 @@ import type { LocationDefinition } from '../../..'; import city_name from './city_name'; import city_pattern from './city_pattern'; +import country_code from './country_code'; import postcode from './postcode'; import postcode_by_state from './postcode_by_state'; import state from './state'; @@ -14,6 +15,7 @@ import street_pattern from './street_pattern'; const location: LocationDefinition = { city_name, city_pattern, + country_code, postcode, postcode_by_state, state, diff --git a/src/locales/fr_CA/location/country_code.ts b/src/locales/fr_CA/location/country_code.ts new file mode 100644 index 00000000..75683672 --- /dev/null +++ b/src/locales/fr_CA/location/country_code.ts @@ -0,0 +1,2 @@ +// [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) +export default [{ alpha2: 'CA', alpha3: 'CAN', numeric: '124' }]; diff --git a/src/locales/fr_CA/location/index.ts b/src/locales/fr_CA/location/index.ts index 4567ecde..eec8374f 100644 --- a/src/locales/fr_CA/location/index.ts +++ b/src/locales/fr_CA/location/index.ts @@ -4,6 +4,7 @@ */ import type { LocationDefinition } from '../../..'; import city_pattern from './city_pattern'; +import country_code from './country_code'; import postcode from './postcode'; import state from './state'; import state_abbr from './state_abbr'; @@ -11,6 +12,7 @@ import street_pattern from './street_pattern'; const location: LocationDefinition = { city_pattern, + country_code, postcode, state, state_abbr, |
