Locale data
JS
open
jp-prefectures.js: Aichi (愛知県) English name wrongly set to 'ehime'
fix: correct enName of 愛知県 (Aichi) from 'ehime' to 'aichi'
jp-prefectures.js · hatsu38/jp-prefectures.js
Symptom
jp-prefectures.js has the English name of Aichi prefecture (愛知県) set to 'ehime' (which is Ehime prefecture / 愛媛県), causing incorrect prefecture mapping.
Minimal repro
jpPrefectures.findByCode(23).enName returns 'ehime' instead of 'aichi'.
Fix
Change enName for 愛知県 (code 23) from 'ehime' to 'aichi'.