From 95237941b66931978953fadb390e1b442ed63175 Mon Sep 17 00:00:00 2001 From: Oleg Bulatov Date: Mon, 25 Nov 2019 16:43:51 +0100 Subject: 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]. --- test/baseline/opt-register-format.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/baseline/opt-register-format.test') diff --git a/test/baseline/opt-register-format.test b/test/baseline/opt-register-format.test index 843aa3ca..384accd8 100644 --- a/test/baseline/opt-register-format.test +++ b/test/baseline/opt-register-format.test @@ -3,6 +3,6 @@ Income:Dividends:Vanguard:VMMXX $-0.35 test reg --register-format='%(amount)\n' -0.350 VMMXX {$1.00} [07-Feb-02] +0.350 VMMXX {$1.00} [2007/02/02] $-0.35 end test -- cgit v1.2.3