Gen_auth: Change from NativeTime to DateTime?

If I understand things correctly, :naive_datetime is only the default in Ecto because of compatibility reasons. See this for example: Why use `utc_datetime` over `naive_datetime` for Ecto? - #4 by wojtekmach.

So yes, just go with :utc_datetime_usec!

1 Like