Why are my Postgres timestamps off by hours? timestamp vs timestamptz
Summary Neither timestamp type retains the original zone. For timestamp without time zone, textual date-time input ignores any zone indication; conversion from timestamptz uses session TimeZone by default. timestamptz is stored as UTC and displayed in the session zone. Our recommendation: check for mixed timestamp types or differences between app and database session time zones.