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/baseline/opt-rich-data.test | |
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/baseline/opt-rich-data.test')
-rw-r--r-- | test/baseline/opt-rich-data.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/baseline/opt-rich-data.test b/test/baseline/opt-rich-data.test index 265af531..2b86a873 100644 --- a/test/baseline/opt-rich-data.test +++ b/test/baseline/opt-rich-data.test @@ -27,14 +27,14 @@ end test test -f /dev/null convert test/baseline/feat-convert-with-directives.dat --rich-data --date-format %d-%m-%Y --now '2014/08/01' 01-01-2012 * KFC ; CSV: 2012/01/01,KFC,$10 - ; Imported: 2014/08/01 + ; Imported: 01-08-2014 ; UUID: 4352cc5a03f882f6f159b90a518667bde7200351 Expenses:Unknown $10 Equity:Unknown 02-01-2012 * REWE SAGT DANKE 123454321 ; CSV: 2012/01/02,"REWE SAGT DANKE 123454321",10€ - ; Imported: 2014/08/01 + ; Imported: 01-08-2014 ; UUID: 4d04439fba0c7336377d1191c545efd0cfa15437 Expenses:Unknown 10€ Equity:Unknown |