log_time
Record work time in Gryzzly by task, project, duration, and date. It returns the day's new total so duplicate entries are easy to spot.
Instructions
Declare time. Gryzzly attaches time to a task, so name a task, or a
project whose tasks can be narrowed down to one. Durations are human:
2h30, 90m, 1.5h. The answer repeats the day's new total, which is
how you notice you have logged the same afternoon twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day: `today` (the default), `yesterday`, a weekday, `YYYY-MM-DD`. | |
| task | No | The task, by name or id. Optional when the project has one task only. | |
| user | No | Whose time it is. Defaults to the user this server acts as. | |
| project | No | The project, by name, code or id. Narrows the task lookup. | |
| duration | Yes | How long: `2h30`, `90m`, `1.5h`, `2:30`, or a bare number of minutes. | |
| description | No | What the time was spent on. Worth filling: it is what a human reads later. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes | The declaration Gryzzly created. | |
| day_total | Yes | What the whole day now totals, so a double entry is visible at once. | |
| day_total_seconds | Yes | The same, in seconds. |