Skip to content

A local-first personal finance app

Added Guatemalan quetzal (GTQ) and Danish krone (DKK) (#6084)

Carlos Simonb7841d031309
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsx
index 85f3b84fed..fb556ecfdc 100644
--- a/packages/desktop-client/src/components/settings/Currency.tsx
+++ b/packages/desktop-client/src/components/settings/Currency.tsx
@@ -29,9 +29,11 @@ export function CurrencySettings() {
['CHF', t('Swiss Franc')],
['CNY', t('Yuan Renminbi')],
['CRC', t('Costa Rican Colón')],
+ ['DKK', t('Danish Krone')],
['EGP', t('Egyptian Pound')],
['EUR', t('Euro')],
['GBP', t('Pound Sterling')],
+ ['GTQ', t('Guatemalan Quetzal')],
['HKD', t('Hong Kong Dollar')],
['INR', t('Indian Rupee')],
['JMD', t('Jamaican Dollar')],
diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.ts
index 87b9ea83d3..ee3d62cf7b 100644
--- a/packages/loot-core/src/shared/currencies.ts
+++ b/packages/loot-core/src/shared/currencies.ts
@@ -29,9 +29,11 @@ export const currencies: Currency[] = [
{ code: 'CHF', name: 'Swiss Franc', symbol: 'Fr.', decimalPlaces: 2, numberFormat: 'apostrophe-dot', symbolFirst: true },
{ code: 'CNY', name: 'Yuan Renminbi', symbol: '¥', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
{ code: 'CRC', name: 'Costa Rican Colón', symbol: '₡', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: true },
+ { code: 'DKK', name: 'Danish Krone', symbol: 'kr', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },
{ code: 'EGP', name: 'Egyptian Pound', symbol: 'ج.م', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: false },
{ code: 'EUR', name: 'Euro', symbol: '€', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },
{ code: 'GBP', name: 'Pound Sterling', symbol: '£', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
+ { code: 'GTQ', name: 'Guatemalan Quetzal', symbol: 'Q', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
{ code: 'HKD', name: 'Hong Kong Dollar', symbol: 'HK$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
{ code: 'INR', name: 'Indian Rupee', symbol: '₹', decimalPlaces: 2, numberFormat: 'comma-dot-in', symbolFirst: true },
{ code: 'JMD', name: 'Jamaican Dollar', symbol: 'J$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
diff --git a/upcoming-release-notes/6084.md b/upcoming-release-notes/6084.md
new file mode 100644
index 0000000000..f1251671ab
--- /dev/null
+++ b/upcoming-release-notes/6084.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [Charlisim]
+---
+
+Add support for GTQ and DKK currencies