Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(locale): add GB subdivision codes #2233

Merged
merged 5 commits into from
Jul 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/locales/en_GB/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import county from './county';
import default_country from './default_country';
import postcode from './postcode';
import state from './state';
import state_abbr from './state_abbr';
import street_pattern from './street_pattern';
import street_suffix from './street_suffix';

Expand All @@ -25,6 +26,7 @@ const location: LocationDefinition = {
default_country,
postcode,
state,
state_abbr,
street_pattern,
street_suffix,
};
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en_GB/location/state.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['England', 'Scotland', 'Wales', 'Northern Ireland'];
export default ['England', 'Northern Ireland', 'Scotland', 'Wales'];
1 change: 1 addition & 0 deletions src/locales/en_GB/location/state_abbr.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default ['ENG', 'NIR', 'SCT', 'WLS'];