PhoenixTimex
PhoenixTimex integrates Phoenix with Timex. For now it simply implements the Phoenix.HTML.Safe protocol for %Timex.DateTime, allowing you to use Timex.DateTime objects in your templates to get a default date or date and time format.
Installation
-
Add phoenix_timex to your list of dependencies in
mix.exs:def deps do [{:phoenix_timex, "~> 0.0.3"}] end
-
Run
mix deps.get