diff --git a/lib/chiya_web.ex b/lib/chiya_web.ex index 6a8b18d..4594717 100644 --- a/lib/chiya_web.ex +++ b/lib/chiya_web.ex @@ -118,7 +118,11 @@ defmodule ChiyaWeb do alias Phoenix.LiveView.JS # Custom functions - import ChiyaWeb.Format, only: [from_now: 1, pretty_date: 1] + import ChiyaWeb.Format, only: [ + from_now: 1, + pretty_date: 1, + datetime: 1 + ] alias ChiyaWeb.Markdown # Routes generation with the ~p sigil