Metabase overriding JDBC and Postgres user timezone

Hi Team,

I have been testing setting up different database connections using different users in Postgres. The users have different timezones set. When I query Postgres directly the timezone conversion happens no problem. When I set up the connection through Metabase, however, then it looks like Metabase overrides the timezone setting of the user completely.

This connection is set up with the timezone (nzst) user:

image

image800×879 31.2 KB

Localization set to database default:

image

image1687×743 46.8 KB

When I do a show timezone; in a sql question it is GMT:

image

image999×644 8.31 KB

Is this a known metabase limitation? We have multiple clients in different timezones so I need a way to use database routing and user mapped timezones when connecting to the client postgres database.

Any assistance would be much appreciated!

Yes, it’s a known limitation, and I commented on in the other thread.

Here is the GitHub issue for reference: