Content
Timestamp
Formats a timezone-bearing instant while preserving native time semantics.
idle
Usage
Examples
Document history
Recommendations
| Guidance | Practice |
|---|---|
| Do | Provide a timezone-bearing instant and choose locale and timezone explicitly for consistent output. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use date inputs for editable local values. A timestamp represents an instant, not an unresolved local appointment. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | Supplies a valid calendar date and time with a timezone. |
| | "date-time" | Formats the visible date, optionally with time and timezone. |
| | "en-US" / "UTC" | Controls deterministic localized display; the machine-readable instant stays unchanged. |