diff --git a/CHANGELOG.md b/CHANGELOG.md index e5c569a6..f868471e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/react/country/COL.ts b/react/country/COL.ts index 8adc677c..12f6309a 100644 --- a/react/country/COL.ts +++ b/react/country/COL.ts @@ -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', @@ -1221,7 +1221,7 @@ const rules: PostalCodeRules = { name: 'postalCode', postalCodeAPI: false, required: true, - regex: /^([\d]{5})$/, + regex: /^([\d]{5})|05001004$/, size: 'small', }, {