Git Product home page Git Product logo

Comments (9)

andyst avatar andyst commented on April 28, 2024

I think that's an omission that should be fixed.

http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/perEn.pdf
http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/albEn.pdf
http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/vctEn.pdf
-> confirms postal code in formatted address for AL, VC, PE

http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/brbEn.pdf
-> no mention of postal code here yet.

For Barbados, please provide (ideally authoritative) evidence of how formatted postal addresses look like that include the postal code.

from libaddressinput.

bojanz avatar bojanz commented on April 28, 2024

We can probably trust their post office, they have a list of locations, all with postal codes:
http://barbadospostal.com/postofficelocations/

from libaddressinput.

andyst avatar andyst commented on April 28, 2024

Thanks for the link. For Barbados it would be good to get more evidence (more examples of formatted addresses).
Either way, the other changes should certainly be made.

from libaddressinput.

bojanz avatar bojanz commented on April 28, 2024

You can go through the list of companies at https://en.wikipedia.org/wiki/List_of_companies_of_Barbados

Some examples, all with postal codes:
http://www.bicoicecream.com/BICOPartners.htm
http://www.bse.com.bb/content/contact-us
http://www.cibcfcib.com/index.php?page=barbados
http://banksbeer.com/content/contact-us

from libaddressinput.

bojanz avatar bojanz commented on April 28, 2024

Bhutan needs fixing as well.

BT: http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/btnEn.pdf

Debatable, probably unneeded, since there's one postal code for all addresses:
TA: http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/taaEn.pdf
AC: http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/ascEn.pdf

from libaddressinput.

mimckenna avatar mimckenna commented on April 28, 2024

👍 for adding Albania.

Also, the regex for Tanzania (TZ) is incorrect. The patterns in ​http://www.tcra.go.tz/index.php/publication-and-statistics/postcode-list indicate the regex should be "[1-7]\d{4}"

See http://unicode.org/cldr/trac/ticket/7612 for more details. CLDR won't fix and is referring to i18napis for address data now.

from libaddressinput.

bojanz avatar bojanz commented on April 28, 2024

Looks like Barbados has been fixed: https://i18napis.appspot.com/address/data/BB

from libaddressinput.

lararennie avatar lararennie commented on April 28, 2024

A fix is in progress for the other countries.
As for Tanzania, we support both old and new format currently (but are a bit lenient on the new format, we allow 5 digits, this could be tightened). Could you file a new github issue to track Tanzania so we can move to the new format only? Thanks!

from libaddressinput.

lararennie avatar lararennie commented on April 28, 2024

Main issue fixed.

Tanzania: please file a github issue about this separately.

from libaddressinput.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.