On 6/29/16 8:19 AM, Vikas Rawal wrote:

Ledger users are used to it, but yes, of course you're right. That's why John 
suggested maybe adding support for specifying/showing inclusive end dates as 
well. This has some costs, eg more complexity. It's awaiting someone motivated 
to do the work. The first step is to come up with a specification I think.

Linguistically, it would be better to make “to” and “until"  include the 
terminal date, and use “before” to exclude the end date.

So these would be equivalent:

--period 'from 2015/04/01 to 2016/03/31’

--period ’since 2015/04/01 until 2016/03/31’

--period 'from 2015/04/01 before 2016/04/01’

Might be a bit too subtle/arguable..

We could also allow dates to have a suffix: inclusive/exclusive, incl/excl, i/e or similar:

-p '2015/04/01 to 2016/03/31incl'
-p '2015/04/01 to 2016/03/31i'
-p '2015/04/01 to 2016/03/31e'  # redundant
-e 2016/03/31e
-p '2015/04/01e to 2016/03/31'  # weird
-p '2015/04/01e'                # wouldn't make sense
-p '2015 to 2016i'              # includes all of 2016 ?


--

--- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to