export datetime/1

This commit is contained in:
inhji 2023-06-28 16:38:55 +02:00
parent fb17c2fa45
commit 7f4216981d

View file

@ -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