Skip to content

feat(currency): add Vietnamese Dong (VND) - #151

Closed
tnt1232007 wants to merge 1 commit into
bscott:mainfrom
tnt1232007:feat/add-vnd-currency
Closed

tnt1232007 wants to merge 1 commit into
bscott:mainfrom
tnt1232007:feat/add-vnd-currency

Conversation

@tnt1232007

@tnt1232007 tnt1232007 commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Adds Vietnamese Dong to the built-in currency list. VND is a supported symbol at Fixer.io, so conversion works the same as for the other currencies.

Changes:

  • internal/service/currency.go: append {Code: "VND", Symbol: "₫", Name: "Vietnamese Dong"} to BuiltinCurrencies.
  • internal/service/currency_test.go: update the last-entry assertion from UAH to VND.
  • internal/service/wallos_import.go: map ₫ to VND in symbolToCurrency. ₫ is used only by VND, so a Wallos export with VND subscriptions keeps its currency instead of falling back to the instance default.

Tested with Go 1.24.13 (linux/amd64): go mod verify, go build, and go test ./... pass; gofmt -l is clean on the changed files.

🤖 Generated with Claude Code

Add VND to the built-in currency list and map the ₫ symbol in the Wallos
importer so VND subscriptions keep their currency on import.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bscott bscott self-assigned this Oct 12, 2026
@bscott

bscott commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Thanks @tnt1232007 for the addition

bscott commented Oct 18, 2026

Copy link
Copy Markdown
Owner

Thanks @tnt1232007! This is included in the v0.6.9 release PR, #153, with your commit kept as is. Closing here in favour of that PR.


Generated by Claude Code

@bscott bscott closed this Oct 18, 2026
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.

2 participants