DateTime — Needs UX design
Pending design review and UX validation.
DateTime
Displays an instant in the viewer’s local timezone by default. Audit rows can use a fixed UTC display so their clock time never shifts after hydration. Focus or hover reveals the timezone and exact UTC.
Playground
Live preview
Display states
Local date and time
Full date and time, with the exact instant in a tooltip.
Compact history date
Month, day and time stay visible; hover or focus for exact UTC.
Fixed UTC audit timestamp
Ledger rows show the same explicit UTC time on the server and in the browser.
With surrounding text
Templates keep the same shared date display.
Missing value
No fabricated date is substituted.
—
Invalid value
Unparseable source text remains visible.
Unavailable timestamp
Precision
Minutes
Seconds
Code
<DateTime value="2026-10-20T23:59:59Z" display="compact" />Used in
Includes use through shared UI components.
AppBack Office
