Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nomor Telepon 10 karakter ada bug #15

Open
simonnicholov opened this issue Mar 5, 2019 · 1 comment
Open

Nomor Telepon 10 karakter ada bug #15

simonnicholov opened this issue Mar 5, 2019 · 1 comment

Comments

@simonnicholov
Copy link

Data dibawah ini, data nya ngaco

{
	'phone': '62816565954',
	'_phone': PhoneNumber(country_code=62, national_number=62816565954, extension=None, italian_leading_zero=None, number_of_leading_zeros=None, country_code_source=0, preferred_domestic_carrier_code=None), 
	'national_number': '62816565954',
	'local_number': '16565954',
	'carrier': None,
	'area_code': '628',
	'area_name': 'Karo, Deil Serdang (Bandar Baru, Sibolangit)', 
	'is_mobile': False
}

Data dibawah ini benar

{
	'phone': '628995514154',
	'_phone': PhoneNumber(country_code=62, national_number=8995514154, extension=None, italian_leading_zero=None, number_of_leading_zeros=None, country_code_source=0, preferred_domestic_carrier_code=None),
	'national_number': '8995514154',
	'local_number': '8995514154',
	'carrier': '3',
	'area_code': None,
	'area_name': None,
	'is_mobile': True
}
@simonnicholov
Copy link
Author

Bug sebenarnya disebabkan proses input yang belum di standarisasi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant