Skip to content

Commit

Permalink
Merge pull request #245 from Shopify/JP-allow-house-numbers-on-address2
Browse files Browse the repository at this point in the history
Allow house numbers on address2 for Japan
  • Loading branch information
rochlefebvre authored Jul 3, 2024
2 parents d5b22f9 + a61a9fa commit 7f2c61d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]
- Move Units constants `SUPPORTED_HUMANIZATIONS` and `MEASUREMENT_KEYS` to `Worldwide.units.supported_humanizations` and `Worldwide.units.measurement_keys` [#240](https://github.com/Shopify/worldwide/pull/240)
- Allow house numbers on address2 for Japan [#245](https://github.com/Shopify/worldwide/pull/245)

---

Expand Down
1 change: 1 addition & 0 deletions db/data/regions/JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ zip_regex: "\\A〒?(\\d{7}|[0-9|0-9]{3}(-|ー)[0-9|0-9]{4})\\z"
partial_zip_regex: "\\A〒?([0-9|0-9]{0,3})(-|ー?)([0-9|0-9]{0,4})\\z"
phone_number_prefix: 81
building_number_required: true
building_number_may_be_in_address2: true
week_start_day: sunday
languages:
- en
Expand Down

0 comments on commit 7f2c61d

Please sign in to comment.