Skip to content

Add backdated completion dates - #14

Merged
mattt merged 8 commits into
mainfrom
mattt/completion-date
Nov 16, 2026
Merged

mattt merged 8 commits into
mainfrom
mattt/completion-date

Conversation

@mattt

@mattt mattt commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Adds --completion-date to things complete, things cancel, things add, and things update (and the project equivalents), so a to-do checked off late or logged afterward gets the right Logbook date. It accepts YYYY-MM-DD (local midnight), a local YYYY-MM-DDTHH:MM[:SS] time, an RFC 3339 date-time, today, and yesterday, and sends the value to Things as completion-date.

add gains --completed and --canceled, and --completion-date requires one of them rather than implying completion. Because Things silently ignores the date on open items, future dates, and repeating templates, the CLI rejects those cases before dispatch.

JSON patches, batch actions, and the MCP create_todo, create_project, and update_item tools accept completion_date; set_status takes it as a top-level argument. Read-back verification compares stopped_at to the requested date, so an ignored date leaves the operation unknown instead of confirmed.

Closes #13.

@mattt
mattt merged commit 780c03a into main Nov 16, 2026
1 check passed
@mattt
mattt deleted the mattt/completion-date branch November 16, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support backdated completion: --completion-date on complete, cancel, and add

1 participant