Giter Club home page Giter Club logo

Comments (9)

wallymathieu avatar wallymathieu commented on June 2, 2024

Oki, I've added a failing test for this issue:
https://github.com/wallymathieu/GlobalPhone/commit/e5f89c714abb286e765529b9b9d528862cbd48b1

from globalphone.

wallymathieu avatar wallymathieu commented on June 2, 2024

Should be better after:
https://github.com/wallymathieu/GlobalPhone/commit/b5b6505206520bc1db05dc22e8de5b6645f3dbfe

from globalphone.

hummerpj avatar hummerpj commented on June 2, 2024

I see you have changed the format in b5b6505:

-              Assert.That(number.NationalFormat, Is.EqualTo("07411 111111"));
 +            Assert.That(number.NationalFormat, Is.EqualTo("074 1111 1111"));

The first line is the correct format as seen http://goo.gl/qAVjHp

I am not sure but this may be covered in PhoneNumberAlternateFormats.xml

from globalphone.

wallymathieu avatar wallymathieu commented on June 2, 2024

It might be that the 07411 111111 is more correct. If you fork the lib and fix the issue you're more than welcome ;)

from globalphone.

hummerpj avatar hummerpj commented on June 2, 2024

Hi,

Thanks for the feedback. I will try to take a look when I have some time. Thanks for the bugfix (for the extra space) though.

Thanks,
Patrick

from globalphone.

wallymathieu avatar wallymathieu commented on June 2, 2024

I might look into what needs to be done later on. I've not much time though...

from globalphone.

wallymathieu avatar wallymathieu commented on June 2, 2024

One idea is to setting up a web service with the java version as backend in order to use a pretty format and then use GlobalPhone only to render numbers for search.

from globalphone.

wallymathieu avatar wallymathieu commented on June 2, 2024

I've made a branch alternate_formats where such refactoring might be done.

from globalphone.

wallymathieu avatar wallymathieu commented on June 2, 2024

If someone does a pull request with a fix, otherwise it's such a small issue.

from globalphone.

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.