Hey,
I got an embedded_schema with a field of type :utc_datetime
.
I want to populate it with the ctime
value from the File.Stat
module which looks like {{2017, 11, 26}, {17, 49, 16}}
.
But there doesn’t seem to be a built in function to create a DateTime
struct from that tuple.
Any ideas?