Skip to content

Rename Vietnam region code vi to vn for ISO 3166-1 compliance (#177)#341

Merged
ppeble merged 4 commits into
masterfrom
vi-to-vn-iso-177
Jun 9, 2026
Merged

Rename Vietnam region code vi to vn for ISO 3166-1 compliance (#177)#341
ppeble merged 4 commits into
masterfrom
vi-to-vn-iso-177

Conversation

@ppeble

@ppeble ppeble commented Jun 9, 2026

Copy link
Copy Markdown
Member

Fixes #177.

VI is the ISO 3166-1 alpha-2 code for the US Virgin Islands; VN is Vietnam. This gem used vi for Vietnam, diverging from the standard. Per the decision in #177, this switches Vietnam to the ISO-compliant vn.

Breaking change → next release is 8.0.0.

Changes:

  • Rename vi.yamlvn.yaml
  • regions: [vi][vn] in all holiday entries and YAML test blocks
  • index.yaml: VI: ['vi.yaml']VN: ['vn.yaml']
  • CHANGELOG entry for 8.0.0

Downstream: the holidays gem will bump this submodule, regenerate, and ship a corresponding major release.

ppeble added 3 commits June 9, 2026 02:11
Signed-off-by: Phil Peble <phil@peble.net>
Signed-off-by: Phil Peble <phil@peble.net>
Signed-off-by: Phil Peble <phil@peble.net>
@ppeble ppeble merged commit bab706e into master Jun 9, 2026
8 checks passed
@ppeble ppeble deleted the vi-to-vn-iso-177 branch June 9, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"VI" is the ISO_3166-2 code for US Virgin Islands but this gem uses it for Vietnam

1 participant