raycast / raycast/extensions

[API Feature Request] Add Support for Time-Only Selection in `Form.DatePicker`

Open
#18,488 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

api feature request Stale
Dominant language
TypeScript
Stars
7.8k
Forks
6.9k
Avg merge
2d 6h
Merged PRs (30d)
442

Description

Description

It would be useful to allow Form.DatePicker to allow users to select only a time (e.g., 14:30), without needing to pick a date. This could be an additional Form.DatePicker.Type.Time enum option alongside Date and DateTime, likely called Time.

Who will benefit from this feature?

Developers building extensions that require time input without a specific date. Examples include reminders, alarms, or recurring actions. It improves user experience by avoiding unnecessary date selection.

Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Form.DatePicker API and its existing Date and DateTime type definitions and behavior. Trace how selection values are represented and validated, then verify that a time-only option can be selected without a date and that the existing modes remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.