Hello all
I want to use vim function LedgerSort on my file to sort transactions.
From testing i have done, i see that sorting changes dates to default format: i use d/m/y and this changes to y/m/d.
Is there a way to keep my date format with LedgerSort?
My .vimrc LedgerSort configuration:
function LedgerSort()
:%! ledger -f - print --sort 'date, amount'
:%LedgerAlign
endfunction
command LedgerSort call LedgerSort()