summaryrefslogtreecommitdiff
path: root/test/regress/383.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/383.test')
-rw-r--r--test/regress/383.test29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/regress/383.test b/test/regress/383.test
new file mode 100644
index 00000000..ab4372fd
--- /dev/null
+++ b/test/regress/383.test
@@ -0,0 +1,29 @@
+
+--input-date-format %Y:%m:%d
+
+D 1000.00 GBP
+
+2014:05:12 * Test
+ Assets:Investments 100 AA {2.00 GBP} [2014:01:01] @@ 200.00 GBP
+ Equity:Opening balance
+
+test bal Assets:Investments --lots --date-format %Y.%m.%d
+100 AA {2.00 GBP} [2014.01.01] Assets:Investments
+end test
+
+test bal Assets:Investments --lots --date-format %Y/%m/%d
+100 AA {2.00 GBP} [2014/01/01] Assets:Investments
+end test
+
+test bal Assets:Investments --lots --date-format %Y:%m:%d
+100 AA {2.00 GBP} [2014:01:01] Assets:Investments
+end test
+
+test bal Assets:Investments --lots --date-format %Y-%m-%d
+100 AA {2.00 GBP} [2014-01-01] Assets:Investments
+end test
+
+test bal Assets:Investments --lots --date-format %g-%b-%d
+100 AA {2.00 GBP} [14-Jan-01] Assets:Investments
+end test
+