* Describe the bug
I tried to set the default timezone for the application, postgres is UTC-7 (America/Dawson) but I tested on SQL query on workflow by command “SHOW TIMEZONE;” it always show UTC+7 (which is my current browser local timezone, I’m living in UTC+7 timezone btw)
Which steps that I configured:
- Set TZ=“America/Dawson” on Dockerfile
- Set timezone=“America/Dawson” on postgres conf file
- I access to postgres directly on my server and the output timezone is correct “UTC-7”
- I tested on workflow of nocobase and the output is UTC+7
- The filter on nocobase also returns records filtered by timezone UTC+7
* Environment
- NocoBase version: v1.8.10
- Database type and version: PostgreSQl 14
- OS: Linux Server 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
- Deployment Methods:
- Docker image version: nocobase/nocobase:latest
- NodeJS version:
* How To Reproduce
- Create a workflow
- Create a node SQL action
- Fill SQL query “SHOW TIMEZONE;”
- Click Test Run button and observe the result
Expected behavior
It should return the timezone that configured on dockerfile: UTC-7



