Noora.Time (noora v0.1.0-alpha.6)
A component to render a time.
Summary
Functions
Attributes
time
(DateTime
) (required) - The time to render.show_time
(:boolean
) - Whether to show the time or date only. Defaults tofalse
.relative
(:boolean
) - Whether to show the time relative to now. Defaults tofalse
.