Open lpil opened 1 year ago
Doesn't look supported at the moment. I think it is pretty simple to add as a basic "offset from UTC" field in a tuple tho, so I can try to knock that out soon.
Hello. I would be interested too in this fix.
Hello! I've hit up against this again. Did you have any thoughts on the format to use? Perhaps someone could contribute something
@lpil sorry, no. @chiroptical says they are taking a look. I think I saw the "offset from UTC" in epgsql. I assume postgrex has some struct so not really a format we can copy.
Looks good! Will need a pg_datetimez
too I think? I can't see that here
Huh.. you'd think so, but I don't see one in the postgres docs.
https://www.postgresql.org/docs/current/datatype-datetime.html
"Timestamp with time zone", isn't that it?
@lpil I don't see a datetimetz mentioned in there.
I don't know what you mean, sorry. I linked it? "Timestamp with time zone".
Hello!
How can one insert and fetch timestamps with time zones? I can only work out how to use Erlang timestamp tuples, which does not contain time zone information.
Cheers, Louis