From 56a45fca41b07f597de1999c6798458e77250119 Mon Sep 17 00:00:00 2001 From: "Luciano Rossi (lukio)" Date: Mon, 7 Nov 2016 14:33:03 +0100 Subject: [PATCH] Add the right configuration of the currency Argentine Peso The configuration has the wrong decimal separator of the currency Argentine Peso. issue6004 review33581002 --- currency.xml | 13 +++++++++++++ scripts/currencies.py | 15 +++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/currency.xml b/currency.xml index 33be5865b7..a4879f3bc9 100644 --- a/currency.xml +++ b/currency.xml @@ -155,6 +155,19 @@ this repository contains the full copyright notices and license terms. --> ARS 032 $ + + + + + + + [3, 3, 0] + , + . + + + - + diff --git a/scripts/currencies.py b/scripts/currencies.py index 897c2aa82d..bfae8b7f36 100755 --- a/scripts/currencies.py +++ b/scripts/currencies.py @@ -169,6 +169,21 @@ currencies = { 'negative_sign': '-', 'positive_sign': '', }, + 'ARS': { + 'rounding': "Decimal('0.01')", + 'digits': '2', + 'p_cs_precedes': 'True', + 'n_cs_precedes': 'True', + 'p_sep_by_space': 'True', + 'n_sep_by_space': 'True', + 'mon_grouping': '[3, 3, 0]', + 'mon_decimal_point': ',', + 'mon_thousands_sep': '.', + 'p_sign_posn': '1', + 'n_sign_posn': '1', + 'negative_sign': '-', + 'positive_sign': '', + }, } for currency in pycountry.currencies: