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 <[email protected]> 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 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, <[email protected]> wrote:
>
> 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.
>
>
> On Sunday, September 25, 2016 at 7:27:50 PM UTC-7, Martin Blais wrote:
>
> 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 context to do weird
> things - but it would work.
>
> I doubt I'll add that for a while, that would be quite a special case.
>
>
>
> On Sun, Sep 25, 2016 at 10:24 PM, Eugene Kuzmitsky <[email protected]>
> wrote:
>
> 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, [email protected] wrote:
>
> 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 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.
>
> Thank you in advance,
> Eugene
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/c5bcead4-5827-4920-8685-db70fbd93e7f%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/c5bcead4-5827-4920-8685-db70fbd93e7f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/b6e60226-1759-4739-ba7e-3de6abe7067d%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/b6e60226-1759-4739-ba7e-3de6abe7067d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAK21%2BhMsSV3k0qmzmZPZLN7KF%3D29d95MW%3DWbBjhR-fY1FSqi%3Dw%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAK21%2BhMsSV3k0qmzmZPZLN7KF%3D29d95MW%3DWbBjhR-fY1FSqi%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAFL5w3XPXUg4nOWMP%2BwNm3gh3bDayjJRnVViNH4KxhQZwZjxhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to