stonymahony / german-zip-codes

Small, lightweight utility to get, match and validate german postal codes with districts.
MIT License
3 stars 0 forks source link

Leading zeros #3

Open Hanuth opened 5 years ago

Hanuth commented 5 years ago

It is a handy little tool! But if you are looking up zip codes such as "07745", you have to remove leading zeros. I think this is kind of counter intuitive. Either the data array should be updated, or leading zeros of the function parameter should be replaced by ''.

Cheers

stonymahony commented 5 years ago

Thank you for reporting this bug, you're totally right! 👍 I will fix this as soon as possible.

Cheers