Is it possible to output hh:mm (i.e. minutes instead of fractional hours) via balance --format FMT
? Thanks!
With hledger
? No, but it's possible via a conversion rate, like so:
a.timedot:
2025-01-10
foo ..
b.timeclock:
i 2025-01-10 08:00:00 foo
o 2025-01-10 08:30:00
c.journal:
D 1.0h
include a.timedot
include b.timeclock
P 0000-01-01 h 60m
# or this (and print --round=hard):
#P 0000-01-01 m 0.01666667 h
#commodity 1.m
Convert to minutes:
$ hledger -f c.journal bal -Xm
60m foo
--------------------
60m
$ hledger -f c.journal print -Xm
2025-01-10 *
(foo) 30m
2025-01-10 * 08:00-08:30
(foo) 30m
Awesome approach using a conversion rate, thanks! Printing minutes helps in grasping the smaller time durations.