Just to clarify. The warning says to use :naive_datetime
since that’s the type with exactly the same behaviour as the old Ecto.DateTime
. The :utc_datetime
has slightly different semantics.
I agree, though, that for most cases, :utc_datetime
is actually better.