export datetime/1
This commit is contained in:
parent
fb17c2fa45
commit
7f4216981d
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue