You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I have some international messages, which are not exported correctly.
For example, a simple UK number should be +44 1234 123456, but your code just convert it into 1234123456, losing all the information about country code. For another example, a simple China number should be +86 123-1234-1234, and your code just convert it into 2312341234, which is even a invalid number, since even though you are allowed to omit the leading country code, the remaining leading 1 is necessary.
My suggestion is just removing strip(), trunc(), and format_phone() functions below. Or at least add a parameter like --keep-phone-number-as-is.
Hi. I have some international messages, which are not exported correctly.
For example, a simple UK number should be
+44 1234 123456
, but your code just convert it into1234123456
, losing all the information about country code. For another example, a simple China number should be+86 123-1234-1234
, and your code just convert it into2312341234
, which is even a invalid number, since even though you are allowed to omit the leading country code, the remaining leading1
is necessary.My suggestion is just removing
strip()
,trunc()
, andformat_phone()
functions below. Or at least add a parameter like--keep-phone-number-as-is
.Original Line 129 - 158 in the code:
The text was updated successfully, but these errors were encountered: