Hello all,

I performed this little test with ledger and was surprised by the result. 
Is it a bug, or intended?

I created a test file containing the following transaction:

2015-12-07 (exp) holiday chocolate for clients
  ; holiday gift for promotion
  Expenses:Promotion    USD 75.73 
  Assets:Checking

I was surprised when following ledger command produced no output:

ledger -f test.ldg print --begin 2015-12-01 --end 2015-12-07

[zilch]

Yes this command with the end date bumped out one day does find the 
transaction:

ledger -f test.ldg print --begin 2015-12-07 --end 2015-12-08

2015-12-07 (exp) holiday chocolate for clients
    ; holiday gift for promotion
    Expenses:Promotion                         USD 75.73
    ; debit account
    Assets:Checking
    ; credit account


Man ledger contains this description of --end:

  --end DATE (-e)
              Specify the end DATE for a transaction to be considered in the
              report.

That description makes me think --end 2015-12-07 would find a transaction 
dated 2015-12-07.
Or am I misunderstanding??

-- Charles

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to