-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Israel (IL) postal code can be 5 or 7 digits - not just 5 digits #1365
Copy link
Copy link
Closed
Labels
Description
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
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
Reactions are currently unavailable