Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As I understand the convention is to put brackets around the country code (http://www.businesswritingblog.com/business_writing/2007/01/how_to_forma...)
Comments
Comment #1
cdale CreditAttribution: cdale commentedThe formatting is handled by the 3rd party libphonenumber code, which provides a few different options for formatting. If you're not seeing parenthesis for the country you're using, then I'd assume that is by design.
Also, the article you've linked, talks about formatting the area code, not the country code, and in general, I've only ever seen parenthesis used for area codes.
Comment #2
giorgio79 CreditAttribution: giorgio79 commentedThanks cdale, just to highlight, here is the country stuff from the article
"For international numbers with country and city codes, Microsoft uses one set of parentheses around the country code followed by a second set enclosing the city code, like these codes for London, England: (44) (71). These numbers in parentheses are followed by the local number rendered in the style used by the particular country."
Comment #3
cdale CreditAttribution: cdale commentedhmm, I've honestly never seen that format used. Then again, I don't use Microsoft products, so that might be why though this kind of thing is very subjective I find.
I'm not sure if we want to add in an option to support this kind of formatting. My initial thought is not, unless upstream does it, as that article alone lists a few different ways to format numbers.
Leaving open for feedback from others.