diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-05-13 00:03:39 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-05-13 00:03:39 -0400 |
commit | 0c9e188cfb37d8f1a2e508e05fe72217aab6dfee (patch) | |
tree | 195487deac18b219a920b575d16f842cce9b69f4 /test/regress/383.test | |
parent | e367cfd895790e573f91823acb8866d7d636e1b8 (diff) | |
download | fork-ledger-0c9e188cfb37d8f1a2e508e05fe72217aab6dfee.tar.gz fork-ledger-0c9e188cfb37d8f1a2e508e05fe72217aab6dfee.tar.bz2 fork-ledger-0c9e188cfb37d8f1a2e508e05fe72217aab6dfee.zip |
Honour date-format for lot dates
Fixes bug #383
Diffstat (limited to 'test/regress/383.test')
-rw-r--r-- | test/regress/383.test | 29 |
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 + |