Date and Time Display Component
Render every date and time through one component so none of them are ambiguous.
What it adds
A single shared way of displaying dates and times, covering absolute format, time zone, and optional relative phrasing.
What your agent is told to do
5
What your agent is told to do
5-
1
Find every place the app renders a date or a time — tables, activity feeds, audit logs, exports, emails, tooltips — and route them all through one display path rather than formatting at each call site.
-
2
Never render an all-numeric date whose day and month could be swapped. Spell or abbreviate the month, or use an unambiguous ordering consistently, because a reader has no way to tell 04/07 from 07/04.
-
3
State the time zone whenever the value is a specific moment rather than a calendar day, and be explicit about whose zone it is — the viewer's, the record's, or the account's — rather than leaving it implied.
-
4
Where a relative phrase is shown, keep the exact timestamp reachable on hover, on focus, and to assistive technology, so nobody has to guess what two months ago means.
-
5
Do not compute relative phrasing during server rendering. The server and the browser will disagree about now, producing a mismatch on hydration and a value that is already wrong when it reaches the page.
Edge cases it handles
7
Edge cases it handles
7- All-numeric dates are read differently in different regions, and a date that could be either is worse than a longer one that is clear.
- A missing, null, or unparseable value must render a defined placeholder rather than an error string or a date at the epoch, and a timestamp in the future must not be phrased as though it has already happened.
- Relative phrasing misleads at both extremes: last week is fine, three years ago on a legal record is not. Use absolute format past a defined threshold and always keep the exact value available.
- Server-rendered output must be stable and identical to the first client render; anything depending on the current time has to settle after mount.
- A date-only value has no time zone and must not be shifted by one. Converting a birthday or an invoice date into the viewer's zone moves it by a day.
- Relative labels must update while the page stays open, without a timer per row on a long list.
- Numeric quantities, counts, and percentages are handled by Number Formatting Component; this component owns only temporal values.
Definition of done
8
Definition of done
8- Every date and time in the app renders through the shared component.
- No displayed date can be read as two different calendar dates.
- Moments in time carry an explicit time zone and a stated frame of reference.
- The exact timestamp is available wherever a relative phrase is shown, including to screen readers.
- Null, invalid, and future values render defined states rather than errors or nonsense.
- Server-rendered and client-rendered output match on first paint.
- The feature matches the existing design system.
- No existing functionality is broken.
Related features
Feedback Widget
Feedback Widget
Let anyone report a bug or send a comment from the page they are looking at.
What it does
An always-available launcher that opens a short feedback form and submits it with page context attached.
How it works
- 1 Put a single persistent launcher in one corner of the app and open a compact form in place. Do not route the user to a separate feedback page and lose the context they were about to describe.
- 2 Attach the current URL, the app version, the viewport size, the signed-in account, and a short trail of recent client errors automatically, so the reporter does not have to describe where they were.
- 3 Show the captured context to the user before they send it, in a collapsible section, and let them remove it. Silent collection of screen state is a trust problem.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/feedback-widget
Booking Page
Booking Page
A shareable page where someone picks an open time and confirms it in a few clicks.
What it does
A public scheduling page listing open slots, taking a booking, and confirming it to both sides.
How it works
- 1 Build the visitor path first: pick a date, see open times in their own zone, fill a short form, confirm, and receive an email with the details and a cancellation link. That is the minimum coherent version.
- 2 Derive open slots from the owner's availability rules and existing bookings on the server at request time. Do not trust a slot list the browser has been holding since page load.
- 3 Reuse the app's existing Time Zone-Aware Scheduling for conversion and storage, store every time as an absolute instant, and display it converted to the visitor's detected zone with the zone named on screen.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/booking-page
Audio Chapter Markers
Audio Chapter Markers
Break a long recording into named chapters listeners can see and jump between.
What it does
Named, timestamped chapters on long audio or video, shown in a list and on the scrubber, each addressable by its own link.
How it works
- 1 Store chapters as an ordered list of start times and titles attached to the existing media record, and render them both as a list beside the player and as markers on the scrubber.
- 2 Let an author add, rename, reorder by moving start times, and delete chapters in the player itself, with the current playback position offered as the default start time for a new chapter.
- 3 If chapters are generated automatically, treat the generated set as a first draft. The author's edits must win and must survive the next generation run.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/audio-chapter-markers
How it works
-
1
Copy the link
Grab the Markdown instruction URL for this feature.
-
2
Give it to your AI
Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.
-
3
It inspects, then implements
Your agent reads your existing app first, then adds the feature to fit it.
Works with your stack
These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.
Need it tighter than that? Customize the feature and tell it exactly what you're running.