You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug pgtype.Timestamp use time.RFC3338Nano which expects timezone information. However, postgres don't return timezone information from a timestamp without time zone. As such:
select to_json(now()::timestamp without time zone) ;
to_json
------------------------------"2024-09-23T16:14:51.152496"
Describe the bug
pgtype.Timestamp
usetime.RFC3338Nano
which expects timezone information. However, postgres don't return timezone information from a timestamp without time zone. As such:To Reproduce
Steps to reproduce the behavior:
Expected behavior
pgtype.Timestamp
parse the format of the timestamp returned by postgresActual behavior
pgtype.Timestamp
expect timezone information from the string, buttimestamp
don't have timezone information.Version
The text was updated successfully, but these errors were encountered: