Changed print report to use format_date
Otherwise, Ledger was unable to parse what it had printed.
This commit is contained in:
parent
f6b93a3f5a
commit
60019dc4b4
1 changed files with 2 additions and 1 deletions
|
|
@ -60,7 +60,8 @@ report_t::report_t(session_t& _session)
|
|||
"%48|%-.38A %22.108t %!22.132T\n");
|
||||
|
||||
HANDLER(print_format_).on(
|
||||
"%(entry.date)%(entry.cleared ? \" *\" : (entry.pending ? \" !\" : \"\"))"
|
||||
"%(format_date(entry.date, \"%Y/%m/%d\"))"
|
||||
"%(entry.cleared ? \" *\" : (entry.pending ? \" !\" : \"\"))"
|
||||
"%(code ? \" (\" + code + \")\" : \"\") %(payee)%(entry.comment | \"\")\n"
|
||||
" %(entry.uncleared ? (cleared ? \"* \" : (pending ? \"! \" : \"\")) : \"\")"
|
||||
"%-34(account)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue