Needs review
Project:
Phone
Version:
6.x-2.15
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 May 2010 at 05:03 UTC
Updated:
23 Feb 2011 at 10:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
thierry_gd commentedI do not understand your question !
Comment #2
darrellduane commentedHe is asking for a way to specify how phone numbers should be displayed when viewing a node that contains them.
E-mail address Fields have a few options to choose from: Default email link, or Email Contact Link. Likewise, Integers have 4 different formats. It would be nice to be able to select from a few different formats for displaying a phone number.
Should numbers appear like this: (123) 456-7890
or Like this: 123.456.7890
I imagine each country has one or more standard formats.
I"m going to look into what it would take to make this happen.
Comment #3
ikeigenwijs commentedsubscribe
we get now +32 9 2356877
We want +32 9 235 22 22 or
We want +32 (0)9 235 22 22
Comment #4
ikeigenwijs commentedFixed it for belgium be.inc see attachment, can it be added?
function be_formatter_default($element) {
fixed phone
// output as +32 AA BB BB BB, +32 A BBB BB BB
Cell phone
as +32 AAA BB BB BB
function be_formatter_local($element) {
Is less tested but should be ok.