bitwalker / timex_ecto

An adapter for using Timex DateTimes with Ecto
MIT License
162 stars 68 forks source link

Undefined function Ecto.Time.epoch/0 #17

Closed martinmaillard closed 8 years ago

martinmaillard commented 8 years ago

alias Ecto.Time in Timex.Ecto.Time shadows Timex.Time, which is probably not intended. It results in the following error when calling Timex.Ecto.Time.cast/1.

** (UndefinedFunctionError) undefined function Ecto.Time.epoch/0
     stacktrace:
       (ecto) Ecto.Time.epoch()
       (timex_ecto) lib/types/time.ex:24: Timex.Ecto.Time.cast/1
       [...]
tessi commented 8 years ago

Since the #18 was merged, can this issue be closed?

bitwalker commented 8 years ago

I'm going to go ahead and close it since a release has been pushed as well.