mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
feat(currency): Add Vietnamese Dong (VND) currency (#6902)
* feat(currency): add support for vietnamese dong currency * release: add upcoming release note * fix(currency): change the number format for vietnamese currency * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9798c26462
commit
7fa9fa900b
@@ -61,6 +61,7 @@ export function CurrencySettings() {
|
||||
['UAH', t('Ukrainian Hryvnia')],
|
||||
['USD', t('US Dollar')],
|
||||
['UZS', t('Uzbek Soum')],
|
||||
['VND', t('Vietnamese Dong')],
|
||||
]),
|
||||
[t],
|
||||
);
|
||||
|
||||
@@ -61,6 +61,7 @@ export const currencies: Currency[] = [
|
||||
{ code: 'UAH', name: 'Ukrainian Hryvnia', symbol: '₴', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },
|
||||
{ code: 'USD', name: 'US Dollar', symbol: '$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
|
||||
{ code: 'UZS', name: 'Uzbek Soum', symbol: 'UZS', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },
|
||||
{ code: 'VND', name: 'Vietnamese Dong', symbol: '₫', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },
|
||||
];
|
||||
|
||||
export function getCurrency(code: string): Currency {
|
||||
|
||||
6
upcoming-release-notes/6902.md
Normal file
6
upcoming-release-notes/6902.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Features
|
||||
authors: [antran22]
|
||||
---
|
||||
|
||||
Adds Vietnamese Dong (VND) currency
|
||||
Reference in New Issue
Block a user