cweijan / vscode-database-client

Database Client For Visual Studio Code
https://database-client.com
MIT License
2.5k stars 287 forks source link

[BUG] Timezone setting is not respected #1317

Closed deiansp closed 2 weeks ago

deiansp commented 2 weeks ago

My database is set in the UTC timezone. I use in the config: "timezone": "+02:00" And I expect to see the dates in my local time.

Unfortunately, they are still shown in UTC (VScode restarted).

As an addition, it would be great improvement to have this setting with a timezone string like "Europe/Athens" as we change the time twice per year (+02:00 in the winter and +03:00 in the summer)

1 2

cweijan commented 2 weeks ago

Hi, timezone is a deprecated option, please use startupSQL instead

SET time_zone = '+02:00';

image