Cannot change Postgres TImezone

jeromecos
HOBBY

9 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

jeromecos
HOBBY

9 months ago

b01880bc-a5fa-4f41-b977-800d4b3367ef


9 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


jeromecos
HOBBY

9 months ago

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


jeromecos
HOBBY

9 months ago

Is it possible to change the database timezone?


9 months ago

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


Cannot change Postgres TImezone - Railway Help Station