Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA deadline date that defaults to the end of that day, with an option to set a specific time, and a clear sentence stating the exact moment it closes. Use this when a deadline is usually a day but sometimes a specific hour and people must not guess which.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when a deadline is usually a day but sometimes a specific hour and people must not guess which.
Do not use it for events with a start and end; use start-end-datetime-pair.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
| value / defaultValue / onValueChange | string | null | null | Local date-time YYYY-MM-DDTHH:mm. |
| endOfDay | string | 23:59 | The time used for end of day. |
| min | string | - | Earliest date. |
The pattern ships with a Testing Library test (deadline-with-end-of-day.test.tsx) that covers the default end of day, a specific time and clearing the date.