I've been doing some budgeting and want to sit down once a fortnight to 
review whether I'm on track or not. So I have budgeted some expenses on a 
fortnightly basis but there are some things that have to come out monthly 
and there are even some every six weeks. I do my budget on a Thursday night 
so I'd really like to have my fortnightly budgets start on Thursday.

I've been trying to use periodic transactions in ledger and it's not 
working the way I would like. I want to say e.g. "every 2 weeks from 
2017-11-02" and have the budget period go from 2 Nov to 15 Nov, then 16 Nov 
to 29 Nov etc. But the behaviour I'm seeing in ledger is the period goes 
from the 2nd to the 4th, and then starts two weeks from the 5th.


$ ledger period 'every 2 weeks from 2017-11-02'
--- Period expression tokens ---
TOK_EVERY: every
TOK_INT: 2
TOK_WEEKS: weeks
TOK_SINCE: since
TOK_DATE:  year 2017 month Nov day 2
END_REACHED: <EOF>

--- Before stabilization ---
   range: from year 2017 month Nov day 2
duration: 2 weeks

--- After stabilization ---
   range: from year 2017 month Nov day 2
   start: 17-Nov-02
duration: 2 weeks

--- Sample dates in range (max. 20) ---
 1: 17-Nov-02 -- 17-Nov-04
 2: 17-Nov-05 -- 17-Nov-18
 3: 17-Nov-19 -- 17-Dec-02
 4: 17-Dec-03 -- 17-Dec-16
 5: 17-Dec-17 -- 17-Dec-30
 6: 17-Dec-31 -- 18-Jan-13
 7: 18-Jan-14 -- 18-Jan-27
 8: 18-Jan-28 -- 18-Feb-10
 9: 18-Feb-11 -- 18-Feb-24
10: 18-Feb-25 -- 18-Mar-10
11: 18-Mar-11 -- 18-Mar-24
12: 18-Mar-25 -- 18-Apr-07
13: 18-Apr-08 -- 18-Apr-21
14: 18-Apr-22 -- 18-May-05
15: 18-May-06 -- 18-May-19
16: 18-May-20 -- 18-Jun-02
17: 18-Jun-03 -- 18-Jun-16
18: 18-Jun-17 -- 18-Jun-30
19: 18-Jul-01 -- 18-Jul-14
20: 18-Jul-15 -- 18-Jul-28


I've tried "--start-of-week Thursday" but it has no effect.
 
Is it possible to achieve what I want to achieve using ledger's periodic 
transactions, or do I need to go another way?

-- 

--- 
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