google / google/libaddressinput

Municipality field is mandatory of JP address

Open
#244 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
624
Forks
109
PR merge metrics
No merged PRs in 30d

Description

In the Japanese address system, the name of the municipality shown below is required on the second level of the address.
* Cities (e.g. 横浜市, city in Kanagawa Pref.)
* Towns with county names (e.g. 乙訓郡大山崎町, town in Kyoto pref.)
* Villages with county names (e.g. 南河内郡千早赤阪村, village in Osaka pref.)
* Special wards in the Tokyo metropolis (e.g. 渋谷区, Special ward in Tokyo metropolis)

Actual:
fmt: "〒%Z%n%S%n%A%n%O%n%N"
lfmt: "%N%n%O%n%A, %S%n%Z"
require: "ASZ"

Expected:
fmt: "〒%Z%n%S%n%C%n%A%n%O%n%N"
lfmt: "%N%n%O%n%A, %C, %S%n%Z"
require: "ACSZ"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.