summaryrefslogtreecommitdiff
path: root/bin/am.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-18 22:24:06 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-18 22:24:06 +0000
commit9cad023627440d354a0f43087e1b5c282605450b (patch)
tree2a8943464a40389b387ec9048ac6fdf326933629 /bin/am.pl
parent52467aa22c2b458e599fbf3e5d2a2662342364b6 (diff)
Added ui for 1 000.00 format
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@227 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/am.pl')
-rwxr-xr-xbin/am.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/am.pl b/bin/am.pl
index 4c5dcb5e..81827c5c 100755
--- a/bin/am.pl
+++ b/bin/am.pl
@@ -2035,7 +2035,9 @@ sub config {
$dateformat .= ($item eq $myconfig{dateformat}) ? "<option selected>$item\n" : "<option>$item\n";
}
- foreach $item (qw(1,000.00 1000.00 1.000,00 1000,00 1'000.00)) {
+ my @formats = qw(1,000.00 1000.00 1.000,00 1000,00 1'000.00);
+ push @formats, '1 000.00';
+ foreach $item (@formats) {
$numberformat .= ($item eq $myconfig{numberformat}) ? "<option selected>$item\n" : "<option>$item\n";
}