Re: Periodic transactions aligned to started date

2018-08-19 Thread John Wiegley
> "mg" == matt graham2001 writes: mg> I haven't got much experience in Cpp programming but interested in mg> learning. Can anyone give me a hint as to where to look to try to fix this mg> one myself? Would love to help out. I believe you can use the "ledger period " command to see what Ledge

Re: Periodic transactions aligned to started date

2018-08-15 Thread matt . graham2001
Hi All, I think this is bug #532 on github page https://github.com/ledger/ledger-plan/blob/master/TODO. Having said that, the bug isn't clear that the problem is that it resets the periodic entries to align to the 'start of period'. Ie Sunday for weekly or biweekly (unless you change the defau

Re: Periodic transactions aligned to started date

2018-04-07 Thread Scott Payne
Hi Rob, Apologies for not replying earlier, got behind in my email again. On Sun, Jan 21, 2018 at 3:54 AM Rob Napier wrote: > On Friday, November 17, 2017 at 10:19:40 PM UTC-5, Scott Payne wrote: >> >> >> I'm still just playing with the periodic transactions for now so I'm not >> sure if I'm go

Re: Periodic transactions aligned to started date

2018-01-20 Thread Rob Napier
On Friday, November 17, 2017 at 10:19:40 PM UTC-5, Scott Payne wrote: > > > I'm still just playing with the periodic transactions for now so I'm not > sure if I'm going to clash with the current implementation soon or not. > Given the way I'm reviewing my budget your point about monthly transacti

Re: Periodic transactions aligned to started date

2017-11-18 Thread Yuri Khan
On Fri, Nov 17, 2017 at 7:38 AM, John Wiegley wrote: > if (str == _("sun") || str == _("sunday") || str == "0") > return gregorian::Sunday; > Try lowercase? I also notice the "sun" and "sunday" strings are marked for translation. A script using these (as opposed to "0") will probably not

Re: Periodic transactions aligned to started date

2017-11-17 Thread Scott Payne
On Friday, November 17, 2017 at 5:22:50 PM UTC+11, Yuri Khan wrote: > > On Fri, Nov 17, 2017 at 7:30 AM, Scott Payne > wrote: > > > OK, I've just tried using the --start-of-week 4 instead of Thursday and > I > > get the result I expect > > That does not scale well. For one, do you have to reme

Re: Periodic transactions aligned to started date

2017-11-17 Thread Scott Payne
On Saturday, November 18, 2017 at 4:12:40 AM UTC+11, John Wiegley wrote: > > > "SP" == Scott Payne > writes: > > SP> I can live with that. I tried using the day name as that was suggested > by > SP> the man page. Should I raise a documentation bug or is it a bug in the > SP> implementation?

Re: Periodic transactions aligned to started date

2017-11-17 Thread John Wiegley
> "SP" == Scott Payne writes: SP> I can live with that. I tried using the day name as that was suggested by SP> the man page. Should I raise a documentation bug or is it a bug in the SP> implementation? Looking at the code, I see this: optional string_to_day_of_week(const std::string& str)

Re: Periodic transactions aligned to started date

2017-11-16 Thread Yuri Khan
On Fri, Nov 17, 2017 at 7:30 AM, Scott Payne wrote: > OK, I've just tried using the --start-of-week 4 instead of Thursday and I > get the result I expect That does not scale well. For one, do you have to remember to pass this option every time you run ledger? For another, what if you need two pe

Re: Periodic transactions aligned to started date

2017-11-16 Thread Scott Payne
OK, I've just tried using the --start-of-week 4 instead of Thursday and I get the result I expect: $ ledger -f budget-test-weekly.ledger reg --budget --start-of-week 4 --no-color 2017-11-02 Budget transaction Expenses:Biweekly $-20

Re: Periodic transactions aligned to started date

2017-11-16 Thread Scott Payne
On Friday, November 17, 2017 at 10:05:21 AM UTC+11, John Wiegley wrote: > > > "SP" == Scott Payne > writes: > > SP> I've tried "--start-of-week Thursday" but it has no effect. > > Does it have no effect in your report too, or just the period command? > > John > It doesn't seem to have an

Re: Periodic transactions aligned to started date

2017-11-16 Thread John Wiegley
> "SP" == Scott Payne writes: SP> I've tried "--start-of-week Thursday" but it has no effect. Does it have no effect in your report too, or just the period command? John -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from