summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/regress/494-a.ledger10
-rw-r--r--test/regress/494-b.ledger17
2 files changed, 27 insertions, 0 deletions
diff --git a/test/regress/494-a.ledger b/test/regress/494-a.ledger
new file mode 100644
index 00000000..4094f7dc
--- /dev/null
+++ b/test/regress/494-a.ledger
@@ -0,0 +1,10 @@
+
+15.03.2006 Exxon
+ Expenses:Auto:Gas 10,00 €
+ Liabilities:MasterCard -10,00 €
+
+test --input-date-format '%d.%m.%Y' reg
+06-Mar-15 Exxon Expenses:Auto:Gas 10,00 € 10,00 €
+ Liabilities:MasterCard -10,00 € 0
+end test
+
diff --git a/test/regress/494-b.ledger b/test/regress/494-b.ledger
new file mode 100644
index 00000000..40e8b1b7
--- /dev/null
+++ b/test/regress/494-b.ledger
@@ -0,0 +1,17 @@
+
+--input-date-format %d.%m
+
+Y2010
+03.01 * Foo
+ A 10.00 EUR
+ B
+
+05.02 * Bar
+ A 20.00 EUR
+ B
+
+test reg A
+10-Jan-03 Foo A 10.00 EUR 10.00 EUR
+10-Feb-05 Bar A 20.00 EUR 30.00 EUR
+end test
+