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

Feature request: append dial code to phone number based on the country code #71

Open
kkyusuftk opened this issue Feb 15, 2024 · 4 comments

Comments

@kkyusuftk
Copy link

kkyusuftk commented Feb 15, 2024

Feature Summary

add the dial code to the number based on the country code
appendCountryCode('9876543210', 'IN') --> +919876543210
appendCountryCode('3232666451', 'US') --> +13232666451

Use Case

There was a use case where we were getting a phone number and the country code (US, IN). We wanted to add the dial code to the number based on the country code.
Seems like a good feature to add to this library.
You folks already have the mapper in place https://github.com/razorpay/i18nify/blob/master/packages/i18nify-js/src/modules/phoneNumber/data/dialCodeMapper.ts

@keshavkrishna
Copy link

I would like to work on this

@Vikas350
Copy link

Vikas350 commented Oct 9, 2024

@kkyusuftk i want to contribute to this, can you please assign this to me.

@kkyusuftk
Copy link
Author

Guys I am not the owner of this, please ask the main authors😄

@Vikas350
Copy link

Vikas350 commented Oct 9, 2024

@tarun-khanna I want to work on it, can you please assign this to me.

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

3 participants