Cannot change Postgres TImezone

jeromecosHOBBY

8 months ago

Hello, I couldn't change the database timezone, I have tried the following commands:
ALTER DATABASE postgres SET timezone TO 'Asia/Kuala_Lumpur';
ALTER ROLE postgres SET timezone TO 'Asia/Kuala_Lumpur';

0 Replies

jeromecosHOBBY

8 months ago

b01880bc-a5fa-4f41-b977-800d4b3367ef


8 months ago

you would not want to change the timezone, you should keep it in UTC as it a universal standard to do timestamps in UTC and convert to a local timezone for display purposes


jeromecosHOBBY

8 months ago

We are building an internal software and doesn't need to store it in UTC format


jeromecosHOBBY

8 months ago

Is it possible to change the database timezone?


8 months ago

i'm sure it is one way or another, unfortunately i won't be able to assist with implementing poor practices.