Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

LV post code accepts LV- prefix #80

Merged
merged 2 commits into from
Apr 25, 2018
Merged

LV post code accepts LV- prefix #80

merged 2 commits into from
Apr 25, 2018

Conversation

vaclavvanik
Copy link
Contributor

Postal codes in Latvia are 4 digit numeric and use a mandatory ISO 3166-1 alpha-2 country code (LV) in front, i.e. the format is LV-NNNN.

So I changed LV regex to accept the LV- prefix.

@malukenho
Copy link
Member

@vaclavvanik I think that unit tests for this scenario is required.

@vaclavvanik
Copy link
Contributor Author

@malukenho test added

@weierophinney weierophinney merged commit 2f29c2d into zendframework:master Apr 25, 2018
weierophinney added a commit that referenced this pull request Apr 25, 2018
LV post code accepts LV- prefix
weierophinney added a commit that referenced this pull request Apr 25, 2018
weierophinney added a commit that referenced this pull request Apr 25, 2018
weierophinney added a commit that referenced this pull request Apr 25, 2018
@weierophinney
Copy link
Member

Thanks, @vaclavvanik!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants