Download & Extend

Hong Kong and Macau include files

Project:Phone
Version:6.x-2.18
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

Here are include files for Hong Kong and Macau.

They accept: (HK is 852 and Macau is 853)
852 9999 9999
+852 9999 9999
(852) 9999 9999
(+852) 9999 9999
Output is rewritten as (+852) 9999 9999

You will need to update the phone.module to add these files to the list of phone country field types.

AttachmentSize
hk_mo_includes.zip2.27 KB

Comments

#1

Status:needs review» fixed

Taken into account in 6.2.10 release

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#3

Version:6.x-2.9» 6.x-2.18
Status:closed (fixed)» reviewed & tested by the community

The include files (phone.hk.inc and phone.mo.inc) are missing in the latest version 6.x-2.18, and thus always fail in validation for Hong Kong numbers. After applying this patch, it works fine now. It will be great if these files can be added to the project.