Skip to content

Commit

Permalink
Changed Postal code for Santa Elena in COL. This locality will now us…
Browse files Browse the repository at this point in the history
…e an 8-digit code.
  • Loading branch information
kaio-donadelli committed Nov 1, 2024
1 parent 22a6556 commit ff2e9ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

- Postal code for Santa Elena in COL. This locality will now use an 8-digit code.

## [3.38.0] - 2024-10-30

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions react/country/COL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const countryData = {
'San Roque': '05670',
'San Vicente Ferrer': '05674',
'Santa Bárbara': '05679',
'Santa Elena': '05001',
'Santa Elena': '05001004',
'Santa Fé De Antioquia': '05042',
'Santa Rosa De Osos': '05686',
'Santo Domingo': '05690',
Expand Down Expand Up @@ -1221,7 +1221,7 @@ const rules: PostalCodeRules = {
name: 'postalCode',
postalCodeAPI: false,
required: true,
regex: /^([\d]{5})$/,
regex: /^([\d]{5})|05001004$/,
size: 'small',
},
{
Expand Down

0 comments on commit ff2e9ae

Please sign in to comment.