Problem trying to call Ecto.DateTime.to_iso8601

Gonz Thanks! I’ll check out that cast/1 I was just trying to figure out what the ~N[2017-03-23 20:58:23.586989] was all about. Is NaiveDateTime what is automatically used in Phoenix or is it configurable?

Frank is no one I know, just something to trip the test up so I can see what it gives me.

Obviously I have a lot of ground to cover in my knowledge in Elixir and Phoenix. Thanks for the tips!