Skip to content

feat(output): show a to-do's reminder time - #405

Merged
ryanlewis merged 3 commits into
mainfrom
feat/reminder-time
Oct 8, 2026
Merged

ryanlewis merged 3 commits into
mainfrom
feat/reminder-time

Conversation

@ryanlewis

Copy link
Copy Markdown
Owner

Things stores a reminder time when a to-do is scheduled with a time, such as --when 2026-10-01@09:00 or --when 23:30, and the app shows that time on the row. The CLI printed it nowhere, so add, show and the list views gave no sign a reminder was set.

This change reads the reminder in the shared task query and shows it in three places:

  • JSON carries a new reminderTime field as a local "HH:MM" clock time. It is left out when there is no reminder. No existing field is renamed or moved.
  • things show adds the time to the Start line, for example Start: 2026-10-09 18:00.
  • List rows put the time before the title, after the star, for example ★ 18:00 Title. A reminder needs a start date to print. Rows without a reminder print exactly as before.

add and edit print the item afterwards, so they show the reminder too. The edit no-op check keeps its own reminder read, so its behaviour does not change.

The docs pages for commands and agents and the bundled skill describe the new field. The SQL golden file gains only the new column.

Checked against the live database (read-only): a to-do scheduled for today at 18:00 shows the time in show, in today, and in today -j.

Things sets reminderTime from a --when time and shows it on the row, but
the CLI printed it nowhere. The task query now reads it into a
reminderTime "HH:MM" JSON field, plain show adds it to the Start line,
and listing rows put it before the title. Rows without a reminder print
as before.
Build the Start line once and append the time, and drop the separate
Reminder line. A reminder is a time on the start date, and no live row
carries one without a date. Rewrap the ReminderTime doc comment.
@ryanlewis
ryanlewis merged commit 4e8afef into main Oct 8, 2026
8 of 9 checks passed
@ryanlewis
ryanlewis deleted the feat/reminder-time branch October 8, 2026 23:39
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.

1 participant