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
Date parameters are serialized as local time by default in current pg, with the timezone dropped when the parameter is interpreted as a timestamp. This is wrong (there’s no guarantee that local time can support all valid timestamp values, and it often doesn’t), but still exists for backwards compatibility.
To view:https://node-postgres.com/features/types ->date / timestamp / timestamptz
create table:
Insert first,then query.
output psql: (insert time type was right)
Why is the value of the time type different?
The text was updated successfully, but these errors were encountered: