Data display
Time
A date shown as relative time ("5 minutes ago", "in 2 days") in the app's language, inside a <time> element that carries the exact moment for machines and, on hover, for people.
Nothing to show
"5 minutes ago" (translated), in a <time datetime="2026-10-14T10:25:00-03:00">. Hovering it shows the full date and time as a tooltip, such as "October 14, 2026 10:25 AM", in the app's locale.
A fallback for empty dates #
With no date, "Never" (translated) in a <span>; without fallback, nothing is rendered.
Nothing to show
Your own text #
The slot replaces the relative text, here the date alone, while the element keeps the machine-readable datetime and the tooltip in the format given.
Nothing to show
Past and future #
Past dates read as "... ago" and future dates as "... from now".
Nothing to show
Tooltip format #
format is the ISO format of the tooltip, LLL by default.
Nothing to show
Reference
tk:time
| Prop | Type | Default | Description |
|---|---|---|---|
value |
string | DateTimeInterface | int | null |
The date: anything Carbon::parse() reads. |
format |
string | LLL |
The ISO format of the tooltip. |
fallback |
string | null |
Text shown when value is empty, translated. |
Slots
| Slot | Description |
|---|---|
| default | The visible text, in place of the relative time. |
Customization
Classes and attributes go to the <time> (or to the fallback <span>).
Nothing to show
Accessibility
A native <time> with an ISO 8601 datetime. The full date is in the title, which not every screen reader announces: when the exact date matters, show it in the text with the slot.
Behavior notes
- The relative text is computed when the page renders and does not update while it stays open; a Livewire update renders it again.
- The language is the app's locale at render time.