Re: Time tracking - is this possible?

2019-02-20 Thread Martin Blais
You don't need a separate file, it doesn't matter. Operating currencies is just a global list of currencies, doesn't have anything to do with files. Its "primary" currency is probably just the first one on the list. On Wed, Feb 20, 2019 at 5:56 AM wrote: > Thanks for your reply. > > i understan

Re: Time tracking - is this possible?

2019-02-20 Thread mployby
Thanks for your reply. i understand the beancount part now. I would like to use fava too, and i was recommended to use separate ledger file "since fava assumes a primary operating currency for its charts". On Tuesday, February 19, 2019 at 11:31:51 PM UTC-5, redst...@gmail.com wrote: > It's si

Re: Time tracking - is this possible?

2019-02-19 Thread redstreet0
It's simpler than you think. There's no reason why you'd need to have a separate input file. Time would be just another currency you made up (like VACHR), that can coexist with your other currencies (like USD). Instead of booking a 10 dollar expense, you'd book a 10 hour expense. On Tuesday, Fe

Re: Time tracking - is this possible?

2019-02-19 Thread mployby
Here is example to make it clear what i mean: To do time tracking should i have separate ledger file? As i understand i can't track money and time in same ledger cause it's different "matter". So i am thinking about creating time account: Assets:Time and accounts showing how i spend time, Exp

Re: Time tracking - is this possible?

2019-02-19 Thread mployby
Thanks for clarifying it. I should have separate ledger for time tracking, correct? time and money should not be in same ledger... On Monday, February 18, 2019 at 1:03:00 PM UTC-5, Martin Blais wrote: > > On Mon, Feb 18, 2019 at 5:37 AM > wrote: > > I would be also interested to have possibilit

Re: Time tracking - is this possible?

2019-02-18 Thread Martin Blais
On Mon, Feb 18, 2019 at 5:37 AM wrote: > Martin, did you ever end up implementing it? > No. I would be also interested to have possibility to track time. > You already can; the only difference here is the input format. "1.5" hours vs. "1h30" as the input. On Sunday, September 25, 2016 at 10

Re: Time tracking - is this possible?

2019-02-18 Thread mployby
Martin, did you ever end up implementing it? I would be also interested to have possibility to track time. On Sunday, September 25, 2016 at 10:27:50 PM UTC-4, Martin Blais wrote: > > Ah I see. You want "hours minutes" type of format, with minutes over 60 > minutes to form an hour. > > I suppose

Re: Time tracking - is this possible?

2016-09-28 Thread Eugene Kuzmitsky
Thank you, all, for your comments. Actually, track only minutes seems to me a bit non-practical. Plugin approach could really create a mess. So may be the best way to track the time is to go with some different dedicated time tracking tools. On Monday, 26 September 2016 00:25:12 UTC-4, Yuchen

Re: Time tracking - is this possible?

2016-09-25 Thread yegle
I guess tracking VACMINUTE would also work, if you have a fixed price between VACMINUTE and VACHR. On Sun, Sep 25, 2016, 21:11 Martin Blais wrote: > Clever. > > Might even work. Only problem is if there is math before the plugins run, > e.g. on interpolation, things might get weird real quick. A

Re: Time tracking - is this possible?

2016-09-25 Thread Martin Blais
Clever. Might even work. Only problem is if there is math before the plugins run, e.g. on interpolation, things might get weird real quick. A safer way to hack this in would be to preprocess the input file through a text transformation. On Sun, Sep 25, 2016 at 11:39 PM, wrote: > Until then, i

Re: Time tracking - is this possible?

2016-09-25 Thread redstreet0
Until then, if you really want it, a bit of a hacky way is to write a simple plugin to rewrite to scale the numbers on all specified currencies (eg: VACHR, or anything ending with an HR). Eg: 7.30 VACHR would be rewritten to 7.50 VACHR 1.30 refers to 7 hours, 30 minutes, which is 7.50 hours.

Re: Time tracking - is this possible?

2016-09-25 Thread Martin Blais
Ah I see. You want "hours minutes" type of format, with minutes over 60 minutes to form an hour. I suppose we could define a number of regex "[0-9]{1,2}+h[0-9]{2}" to translate to the equivalent number of minutes or hours, generically. It's ugly - very specific, and could be used entirely out of c

Re: Time tracking - is this possible?

2016-09-25 Thread Eugene Kuzmitsky
Sure, With VACHR approach, I believe, I can't record time intervals like 1h 25 min etc. In ledger-cli we can use such a format, I guess, but not here. On Sunday, 25 September 2016 22:13:30 UTC-4, redst...@gmail.com wrote: > > Beancount lets you define any currency you want on the fly. You can pl

Re: Time tracking - is this possible?

2016-09-25 Thread redstreet0
Beancount lets you define any currency you want on the fly. You can plot any of these in fava. Can you be specific on why the VACHR example does not work for you? On Sunday, September 18, 2016 at 8:18:29 PM UTC-7, Eugene Kuzmitsky wrote: > > Hi! > > Being a Beancount user for a while, I'm just c

Time tracking - is this possible?

2016-09-18 Thread Eugene Kuzmitsky
Hi! Being a Beancount user for a while, I'm just curious, is there any method of tracking hours in Beancount? I mean ledger-like feature, not just VACHR (from example) without fractional part of hours. It would be great to have this, so one can plot the time spent by category, say, in fava. Th