Noora.Time (noora v0.1.0-alpha.2)

A component to render a time.

Summary

Functions

time(assigns)

Attributes

  • time (DateTime) (required) - The time to render.
  • show_time (:boolean) - Whether to show the time or date only. Defaults to false.
  • relative (:boolean) - Whether to show the time relative to now. Defaults to false.