cakephp / localized

I18n and L10n related CakePHP code
Other
214 stars 179 forks source link

Ukraine Person ID (VAT) deep validation #195

Closed yarkm13 closed 6 months ago

yarkm13 commented 4 years ago

Person ID have certain format. It encode birth date, gender and have checksum. So it can be validated more deeply than just /^\d{10}$/ with some calculations. I think i can do pull request for it. Does it make sense?

dereuromark commented 4 years ago

Sure, go for it

dereuromark commented 4 years ago

If you need this in 3.x, please point it to that branch now. We will forward port any fixes into 4.x until 4.x is stable released, then only backports.

yarkm13 commented 4 years ago

I don't need it for now. Will do for 4.x