LedgerSort changes my date format

31 views
Skip to first unread message

Nikos Charonitakis

unread,
Aug 13, 2020, 3:45:17 AM8/13/20
to Ledger
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()


Reply all
Reply to author
Forward
0 new messages