1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-08 00:16:24 +00:00

13 Commits

Author SHA1 Message Date
Greg Ross
6e86c48486 Updated phone formatter (#241)
* Add locale and libphonenumber libraries.

* Update country code information

Updated existing country codes, fixed incorrect NANP codes for member countries (as well as several UK based ones).

Also added in Country Name to ISO country code mapping array for use with libphonenumber.

* Convert phone number formatting to use libphonenumber

libphonenumber parses phone number more consistantly than the old regex's that mismatched number on a regular basis.
2018-06-26 09:49:22 +02:00
Kai Schröer
7dd75ea74a Corrected missing Nc branding (#212) 2017-12-28 16:18:36 +01:00
Loic Blot
9d8702d3bb Rename application to 'Phone Sync'
Also update copyright years on modified files
This fixes #132
2017-01-03 12:54:38 +01:00
Aaron LI
db067f945a Update country codes according to countrycode.org
This update also fixes the codes of "Albania" and "Finland".

The following countries/regions have multiple codes, and I do not know how to handle this issue, so I just comment these out.
+ Dominican Republic: 1-809, 1-829, 1-849
+ Puerto Rico: 1-787, 1-939
2016-05-27 14:04:09 +08:00
Loic Blot
ccb13d3c31 Update copyright notice 2016-01-30 22:54:12 +01:00
Ner'zhul
5733d73466 Add singapore country code 2015-08-12 12:27:17 +02:00
Adam Brown
66b25374ae Added Australia's country code: http://www.australia.gov.au/about-australia/our-country/telephone-country-and-area-codes. 2015-04-23 13:11:53 +08:00
wtayyeb
9b2699b0b7 Add Iran (+98) to contrycode 2015-02-24 12:38:02 +03:30
ja02
97c7684b51 Added ITU-T country call codes for European countries. 2015-02-20 23:32:42 +01:00
Martin Rüegg
16134e0709 Add Switzerland (+41) 2015-02-12 19:43:01 +01:00
Loic Blot
0e9e1fd503 Add South Africa country code (resolve issue #40) 2015-02-09 20:26:05 +01:00
Loic Blot
925215e27c Implement country code select, need server side handling 2015-01-05 19:03:14 +00:00
Loïc Blot (@U-Exp)
ab3bd8718e Add a basic countrycode mapper for future use to dedup phone intl/local prefix problems 2015-01-03 11:59:25 +01:00