docs/wiki/4.21-Worklog.md
The worklog in Super Productivity is a date-organized view of the time you have logged on tasks: it turns each task’s time spent per day into a hierarchy of years, months, and days (or years, weeks, and days) so you can see what you worked on and for how long on any given date. The worklog is generated from your task and archive data—it does not store time separately. It is read-only: you view and export it, but you do not edit logged time through the worklog screen. (A related view, Quick History, uses the same data in a week-centric, current-year layout and allows inline editing of time per task; see [[4.22-Quick-History]].) Understanding how worklog entries are built, where the data comes from, and how accuracy and refresh work helps you use the worklog and daily summary for review and export.
For how time is recorded on tasks (time spent per day), see [[4.14-How-Time-Is-Logged]]. For how archived tasks and their time are included, see [[4.20-Task-Archiving]].
A worklog entry is one row in the worklog for a specific day: it ties a task to time spent on that day. When the worklog is built, each task’s per-day time (from “time spent per day” on the task) becomes one or more entries—one per day on which time was logged. For display and export, each entry is effectively “this task, on this date, this much time.” Subtasks can be linked to their parent so they appear under the parent in the list; the app also tracks whether an entry should be excluded from certain restore operations, but that is an internal detail. So from your perspective: the worklog is a list of task–date–duration rows, grouped by day (and by month and year, or by week).
The worklog is not a separate store of time. It is computed from:
The transformation does the following:
So the worklog is a reorganized view of the same “time spent per day” data that lives on tasks (and in the archive). When you open the worklog, daily summary, or quick-history view, the app loads the relevant tasks (active + archive for the context), runs this transformation, and shows the result.