Did some research on this forum and found information on
utc_datetime. My understanding is that the
naive_datetime does not store the timezone info in it. I am using postgres, and in my migrations I simply said
timestamps(), Looks like the values getting stored here are
There are suggestions here to use
UtcDateTime for Ecto
timestamps() but I am wondering if
NaiveDateTime is a concern really?
Aren’t the values getting stored in the table
On my system,
NaiveDateTime.utc_now seem to yield the same
UTC current time. Am I missing anything here?
I would appreciate some expert insight into this one. Thank you a ton everyone!