You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
isPostalCode only allows 5 digit postal codes for Israel (IL)
Currently Israel officially uses 7 digit postal codes but also still accepts 5 digit codes in practice
I'd make the PR directly but I do not have permission to create Pull Requests on this repository.
I propose modifying the existing line for IL to: IL: /^(\d{5}|\d{7})$/,
Background on Israel postal codes; fundamentally, although officially switching to a 7 digit system in 2012 and supposedly deprecating 5 digit codes in 2013, 5 digit postal codes are still commonly used
isPostalCode only allows 5 digit postal codes for Israel (IL)
I'd make the PR directly but I do not have permission to create Pull Requests on this repository.
I propose modifying the existing line for IL to:
IL: /^(\d{5}|\d{7})$/,
Background on Israel postal codes; fundamentally, although officially switching to a 7 digit system in 2012 and supposedly deprecating 5 digit codes in 2013, 5 digit postal codes are still commonly used
Various references:
https://worldpostalcode.com/israel/
https://en.youbianku.com/Israel
https://www.reference.com/business-finance/zip-code-israel-168914627f8cae6
https://en.wikipedia.org/wiki/Postal_codes_in_Israel
The text was updated successfully, but these errors were encountered: