I made a mistake in my previous comment. When I said that formatting of
a phone number "should not depend on what your locale setting happened
to be when you dialled it, and especially not on what your locale
setting happened to be at the moment you happened to look at the call
history", I think that's true for international numbers: they should
follow the E.123 standard regardless. But it is not true for domestic
numbers: they differ in grouping and separators.

The problem here seems to be that the Chinese number 18812345678 is
being displayed as if it was an North American (NANP) number, merely
because Wenfang is using the American locale. So the "1" is wrongly
interpreted as North America's optional trunk code and dropped, the
"881" is wrongly interpreted as a North American area code and
bracketed, and the rest is wrongly displayed using the North American
"-" separator. Result: (881) 234-5678.

So, I guess what the call history needs to do is to remember what
country you were in for each domestic number you dial, and format it
following the locale for that country.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1447504

Title:
  [system settings] Dialer-app: Wrong number is shown in call history

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1447504/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to