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

Fix for NL postal code #984

Merged
merged 1 commit into from Jul 15, 2017
Merged

Fix for NL postal code #984

merged 1 commit into from Jul 15, 2017

Conversation

ghost
Copy link

@ghost ghost commented Jul 14, 2017

According to wikipedia, https://en.wikipedia.org/wiki/Postal_codes_in_the_Netherlands
the postal code for the Netherlands should not include one of SA, SD, SS
as a suffix. This is now fixed.

Also added test for nl_locale

According to wikipedia, https://en.wikipedia.org/wiki/Postal_codes_in_the_Netherlands
the postal code for the Netherlands should not include one of SA, SD, SS
as a suffix. This is now fixed.

Also added test for nl_locale
@stympy stympy merged commit 12df44f into faker-ruby:master Jul 15, 2017
@ghost ghost deleted the fix-for-invalid-nl-postal-code branch July 17, 2017 06:08
paneer-tikka added a commit to paneer-tikka/faker that referenced this pull request Aug 4, 2017
* 'master' of github.com:stympy/faker: (56 commits)
  Renamed word_of_warcraft to world_of_warcraft
  Add default_country for Japan and Korea
  Fix typo in de.yml (faker-ruby#986)
  Fix for NL postal code (faker-ruby#984)
  French traduction for Faker::Pokemon (faker-ruby#983)
  Version bump
  Remove errant tab character in YAML (faker-ruby#981)
  Version bump
  Adds Bossa Nova
  Add Umphreys McGee (faker-ruby#942)
  Adds world of warcraft characters and quotes
  Add Faker::TheFreshPrinceOfBelAir
  Add tests for Faker::Address and fix bg with zip_code(state_abbreviation)
  Adds Faker::Measurement
  Adding metric system to food measurements
  Add Hogwarts and Ilvermorny houses to Harry Potter (faker-ruby#925)
  Add Witcher
  Add greek_organization method to University (faker-ruby#932)
  Adds Most Interesting Man In The World quotes
  Adds elder scrolls (faker-ruby#933)
  ...
landongrindheim pushed a commit to landongrindheim/faker that referenced this pull request Oct 7, 2017
According to wikipedia, https://en.wikipedia.org/wiki/Postal_codes_in_the_Netherlands
the postal code for the Netherlands should not include one of SA, SD, SS
as a suffix. This is now fixed.

Also added test for nl_locale
@dennisschroer
Copy link

This does not seem to work. When I fill my database using faker in nl locale, i get this:
image

As far as I can see, there is always something added to the zip code. Sometimes its only SA or SD, while at other times the entire <!SA|SS|SD) is appended. Due to this, my tests are failing

@ghost
Copy link
Author

ghost commented Apr 7, 2018

Interesting. Is this something that just started occurring or has it been a problem in the past?

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

Successfully merging this pull request may close these issues.

2 participants