From 7f4216981db6f0365a822634b2a9b0ef94057a68 Mon Sep 17 00:00:00 2001 From: inhji Date: Wed, 28 Jun 2023 16:38:55 +0200 Subject: [PATCH] export datetime/1 --- lib/chiya_web.ex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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