Closed mik-laj closed 8 years ago
How about validation rules?
Can either go into this one or be a separate PR.
Can we talk about this? https://github.com/cakephp/localized/blob/master/src/Validation/PlValidation.php What do you want more?
Sorry, my bad.
Phone is missing, but no big deal :)
Telephone numbers in Poland are 9 digits long. For mobile phones, the preferred format is AAA-AAA-AAA. For landline phones, the preferred format is AA-BBB-BB-BB, where AA is area code. Occasionally, you can encounter numbers formatted as (AA) BBB-BB-BB. Omitting area code is not permitted, because nowadays it is always required.
Source: https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers
There aren't discussed rules of premium mobile numbers (ex. 72601, 7148, *741126, 72480) Full list on gov page: https://www.uke.gov.pl/tablice/NumerUpo-list.do?execution=e1s1
It also does not contain information about emergency numbers ex.112 - european emergency number, 997 - police.
Looks good.