V
defmodule Foo do
alias NativeDateTime, as: NDT
def bar, do: NDT.utc_now()
end
iex> Foo.bar
** (UndefinedFunctionError) function NativeDateTime.utc_now/0 is undefined (module NativeDateTime is not available)
NativeDateTime.utc_now()
Size: a a a
V
defmodule Foo do
alias NativeDateTime, as: NDT
def bar, do: NDT.utc_now()
end
iex> Foo.bar
** (UndefinedFunctionError) function NativeDateTime.utc_now/0 is undefined (module NativeDateTime is not available)
NativeDateTime.utc_now()
ŹR
ŹR
V
V
import NaiveDateTime, only: [diff: 3] // вот тут бы as: ndt_diff
V
RP
RP
PG
PG
V
PG
SM
C
A
KA
Я
AK
V