GitHub
Time overview

Time overview

The overview shows where your time went, whether you bill it or not. Open it with Time in the sidebar, or g w.

Time has two tabs: Overview, this page, and Entries (g e), the lines behind it. Both share one filter bar, and switching tabs keeps the filters.

Every figure links to the entries behind it, with the same filters. Every figure also has an info tip with the hledger command that prints the same number, so you can check it, or take it into a script.

Filters

The bar at the top sets what every figure counts, and on Entries, which lines are listed:

FilterChoices
PeriodThis week, Last week, This month, Last month, This quarter, This year, Last year, Last 12 months, All time, or Custom… with a From and To date. ‹ and › step to the period before or after.
SearchText in the note or the account name.
PersonEveryone, one person, or No one named (time with no person). Hidden when only one person has time.
CustomerAny customer, or one.
BillableEither, Billable, or Not billable.
BillingAny, Unbilled, On an invoice, Not billed (written off), Not billable, or Invoiced or written off.
AccountAn account and everything under it, such as clients:acme.

Each tab adds its own view options at the end of the period row. The overview’s are:

OptionDoes
Compare with previousOn by default. Each figure shows its change against the period before, of the same length. Off for All time.
DepthHow many levels of the account tree to show.

All time runs from the first month with any time to today.

The filters are kept in the address. A link, a reload and Back all land on the same view. Clear filters resets them, and keeps the period. Switching tabs keeps the filters but not the other tab’s view options.

KeysDoes
[ / ]Previous / next period
/Go to Search

The page

The tiles across the top:

Hours over time is a stacked bar chart, one bar per day, week or month. The page picks the bar size from the period’s length (days up to a month, weeks up to about six months, months beyond), and the Day, Week and Month buttons change it. Split by colours each bar by top-level account, customer, person, or billable. With a weekly target set (weekly-target in Settings), Target draws it as a line. Table under the chart lists the same numbers.

The account tree shows Hours, Share of the total, Billable hours and the Change at each level, rolled up from the levels below, to the depth in the filter bar. Unfold or fold any branch on its own, and Reset to depth N goes back. It lists only accounts with time in the period, so a large chart of accounts shows just what you worked on. A line under the table counts what it left out, including accounts that had time only in the previous period; their hours still count in their parents’ Change.

The top lists show the ten biggest of each, the rest summed as Other, each with its change:

The same figures with hledger

The tips give commands like these. Run them from your books folder, where time.journal is. The period becomes -p 2026-11 for a whole month, and -b FROM -e DAY-AFTER otherwise, since hledger’s end date isn’t included.

FigureCommand
Total hourshledger -f time.journal bal -p 2026-11 --depth 0
Billable hourshledger -f time.journal bal -p 2026-11 --pivot billable
Average per day, days trackedhledger -f time.journal bal -p 2026-11 -D --depth 0
Unbilled hourshledger -f time.journal bal -p 2026-11 --pivot billable '^yes$' tag:customer not:tag:invoice not:tag:nobill
Hours over time, by top-level accounthledger -f time.journal bal -p 2026-11 -W --depth 1
Hours over time, by customerhledger -f time.journal bal -p 2026-11 -W --pivot customer
Account treehledger -f time.journal bal -p 2026-11 --tree --depth 2
Top accountshledger -f time.journal bal -p 2026-11 --depth 2 -S
Top customershledger -f time.journal bal -p 2026-11 --pivot customer -S
Top peoplehledger -f time.journal bal -p 2026-11 --pivot person -S
Most frequent noteshledger -f time.journal print -p 2026-11

The filters add query terms: ^clients:acme(:|$) for an account, 'tag:customer=Acme Corp' for a customer, tag:person=pat for a person, tag:invoice for time on an invoice and tag:nobill for time written off. The other billing states and Search have no single hledger query, so the command leaves them out, and its tip says so.

On the sample time books, the billable split for November reads:

$ hledger -f time.journal bal -p 2026-11 --pivot billable
                2.17  no
               20.73  yes
--------------------
               22.90

Where hledger’s figure can differ

hledger and the overview agree to within a few hundredths of an hour. Where they can differ, the tip says so.