Files
wekan/docs/Features/Cards/Time-Tracking.md
T
Lauri Ojansivu 7e1f9e89eb Docs: every feature topic in one folder under docs/Features, each with README.md as its main page.
- The General/ level is gone: its 109 files moved up into the folders of the
  same name, and its topic table is the "Shared topics" section of
  Features.md.
- Accessibility is one folder, docs/Features/Accessibility/, with the Admin
  Panel's accessibility page in it.
- Every folder's main page is README.md (110 X/X.md pages renamed with git mv,
  five merged with an existing README.md, 26 index pages added for folders
  that had none), so a folder opened on GitHub shows its page.
- The 73 "# Moved" forwarding pages are deleted, with the folders that held
  only them; every link that went to one goes to its final page.
- docs/Features/README.md has the website's "Features in WeKan" overview,
  each feature linking to its page here.

1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose,
snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when
General/ or a "# Moved" page comes back, a folder has no README.md, or a
relative link in the docs or README.md does not resolve.

Thanks to xet7 !
2026-11-24 20:02:06 +02:00

6.7 KiB

Time Tracking

What it is

Time tracking records how much time has been spent on a card. Each card has a Spent time (hours) total, an optional estimate, an Overtime flag and a Time by day log of who logged how many hours on which day. The total is what the Time view, Workload and Billing read; the Flowtime and Pomodoro timers add to it. External time trackers such as Titra and calendars through iCal can be used with WeKan too.

Read more

Titra

This was found 2020-05-20 at Time Tracking Wekan issue, thanks!

Titra Time Tracking, GPLv3

Wekan Integration:

iCal

https://github.com/wekan/wekan/issues/2836

https://github.com/wekan/wekan-ical-server

How to use it

Show the field on the board: Board sidebar (hamburger menu) → Board Settings → Card, row Spent time (hours): Show on Card and Show on Minicard.

Set the total, the estimate and the flags:

  1. Open the card. In the Time section, click the hamburger beside Spent time (hours) (Change spent time), or click the time badge.
  2. Enter Time in hours (decimals allowed, for example 1.5).
  3. Optionally fill in Estimated hours, and tick Billable and Overtime.
  4. Click Save. Delete clears the time and the Overtime flag.

Log time on a day:

  1. In the same popup, under Time by day, pick the Date, enter the Hours and an optional Note.
  2. Click Log time. The entry is listed with who logged it; your own entry can be removed with the trash icon until it is approved or invoiced.

The badge turns red when Overtime is ticked, green otherwise; with an estimate it reads like 1h30m / 4h.

How the numbers are calculated

  • Spent time is stored in decimal hours (spentTime in models/cards.js); a value below 0 is refused with Invalid time.
  • The badge shows it as a duration (models/lib/spentTimeFormat.js): the hours are rounded to whole seconds and split into days (24 h), hours, minutes and seconds, leaving out zero units - 12h34m56s, 1d2h, 0s. Its tooltip says Spent Time or Overtime, with the hours rounded to two decimals.
  • Estimated hours: 0 to 10,000, in steps of 0.25 in the popup; what is left is the estimate less the time spent.
  • Time by day (models/lib/timeEntries.js): an entry is more than 0 and at most 1,000 hours, on a YYYY-MM-DD date, with a note of at most 500 characters; hours are rounded to four decimals. Logging adds the hours to the card's total and removing one takes them off again. Any other change of the total - the popup, a timer, the REST API, an import - is recorded as an entry of that day for the difference, and time spent before entries were kept becomes one undated entry, once. The list shows the newest 500 entries.
  • A linked card shows, and changes, the time of the card it links to.

How it works in WeKan

Commits