diff options
author | Oleg Bulatov <oleg@bulatov.me> | 2019-11-25 16:43:51 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2019-11-27 13:35:08 +0200 |
commit | 95237941b66931978953fadb390e1b442ed63175 (patch) | |
tree | d02da137b02663e1b7aca367bfa3e49976478c89 /test/regress | |
parent | 96eb5fe19fcbe46ca5fb9cf06c9460e226b5dcd7 (diff) | |
download | fork-ledger-95237941b66931978953fadb390e1b442ed63175.tar.gz fork-ledger-95237941b66931978953fadb390e1b442ed63175.tar.bz2 fork-ledger-95237941b66931978953fadb390e1b442ed63175.zip |
Format annotations using format that can be parsed
I expect an output of `ledger print` to be consumable by ledger.
But on the next journal
```
2019/11/25 * test
Foo 1 AAPL {1.00 EUR} [2019/11/24]
Bar
```
it prints [19-Nov-24], which it does not understand with default
options.
With this patch it prints [2019/11/24].
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/78AB4B87_py.test | 2 | ||||
-rw-r--r-- | test/regress/9188F587_py.test | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/regress/78AB4B87_py.test b/test/regress/78AB4B87_py.test index cbfe9c6a..8f847145 100644 --- a/test/regress/78AB4B87_py.test +++ b/test/regress/78AB4B87_py.test @@ -5,7 +5,7 @@ Total is presently: (0.00 EUR) Converted to EUR: (-5.73 EUR) Total is now: (-5.73 EUR) --5.00 EUR {0.8733 GBP} [12-Jan-03] +-5.00 EUR {0.8733 GBP} [2012/01/03] EUR Total is presently: (-5.73 EUR) Converted to EUR: (-5.00 EUR) diff --git a/test/regress/9188F587_py.test b/test/regress/9188F587_py.test index e431af90..28bb34ff 100644 --- a/test/regress/9188F587_py.test +++ b/test/regress/9188F587_py.test @@ -5,7 +5,7 @@ Total is presently: (0.00 EUR) Converted to EUR: (-6.00 EUR) Total is now: (-6.00 EUR) --5.00 EUR {0.8733 GBP} [12-Jan-03] +-5.00 EUR {0.8733 GBP} [2012/01/03] EUR Total is presently: (-6.00 EUR) Converted to EUR: (-5.00 EUR) |