Cleanups/Phone formatting
Phone numbers accumulate formats. Some have a country code, some do not. Some have a plus, some have brackets, some are a bare run of ten digits typed in a hurry. Three ContactOne rules bring the whole address book into one shape - without touching the numbers that would be wrong to touch.
A number missing its country code is fine until you leave the country, at which point it does not dial. A number stored six different ways is also six different strings, which is why duplicate detection - iOS's and everyone else's - misses pairs that are obviously the same to a human. Normalizing the format is partly cosmetic and partly the thing that makes matching work.
Adds your region's country code to numbers saved without one. The important part is the restraint: it only rewrites a number that validates as a number in your own region. A foreign number stored in local format does not, so it is left alone rather than given a country code that would make it undialable.
Adds a leading plus to numbers that already carry a country code, which is what makes them dial from anywhere. This is a separate rule from the one above on purpose - it never adds a code that is not already there, so it cannot double-prefix a number the first rule has already handled.
Reformats the digits into your region's standard grouping, so a list of numbers reads consistently. This one changes only presentation - the digits are identical before and after.
| Rule | Was | Now |
|---|---|---|
| Add country code | 416 555 1212 | +1 416 555 1212 |
| Add + prefix | 1 416 555 1212 | +1 416 555 1212 |
| Normalize grouping | +14165551212 | +1 (416) 555-1212 |
| Foreign number | 020 7946 0018 | unchanged |
Formatting has a side effect worth knowing about. Once every number is in the same shape, the same mobile number stored twice in one contact - once with dashes, once without - becomes visibly identical. A separate rule collapses those within-contact duplicates, which is the kind of duplication people never notice because it does not create a second contact.