Commit 15c0266
Fix: Double zero prefix normalization in phoneUtils.ts
Updated `fixCommonTypos` to handle the `00` prefix early by converting it to `+`.
This ensures that subsequent Zimbabwe-specific normalization (removing a
leading zero after the country code) can still be applied to inputs like
`002630...`.
Co-authored-by: tapiwamakandigona <230673668+tapiwamakandigona@users.noreply.github.com>1 parent b211987 commit 15c0266
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| |||
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments