I've used timetracking mode extensively for about a decade now. I'm always learning new things about ledger but I feel I've got a lot of experience with that particular mode because I've been using it to track my time for more than half of my professional life ;-)
Unfortunately, you have to enter the time in fill HH:MM:SS. I've not found an option that enables eliding the seconds. JW will probably respond with input on the latter. On Wednesday, May 25, 2022 at 12:48:02 PM UTC-4 Carl Tappan wrote: > Hi, > > I'm trying to set up a minimal time tracking system with ledger and have > two questions. > > 1.) Is it possible to enter time in "HH:MM" format? Converting to decimal > hours is clunky, and the various timeclock options don't fit my workflow > well. I know that I can add a timelog entry with "time in" and "time out", > but ideally I'd be able to post directly to the account. > > 2.) Is it possible to define an hourly rate in a price history file, or > some other persistent way that doesn't require recording each entry as xx.yyh > @ $<rate> ? The documentation implies under 3.4.2 that time is just a > commodity, but setting a price as P h $<rate> doesn't seem to work. If I > log in units of 'hours' instead of 'h' then defining P hour $<rate> works > as expected, but I think that breaks the predefined equivalencies between > different time units. > > Thanks for any advice, and sorry if this I missed this somewhere in the > docs or discussion history. > > Best, > Carl > -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/e7819eb0-6ac3-43bb-ac79-469f21d43a97n%40googlegroups.com.