Forums

Postgresql settings

Hi, in this article you propose a general settings of the database: https://help.pythonanywhere.com/pages/PostgresGettingStarted/

One of them is command: "ALTER ROLE myappuser SET timezone TO 'UTC';"

Is that option is recommended by you or should I entern my own time zone?

All of our servers have UTC as the system time, so we'd generally recommend sticking with that, as otherwise you might have situations where you'll need to do extra timezone conversions. But if you're aware of that and code appropriately there should be no harm in using your local timezone for the Postgres server.

Thanks for the answer. It was helpful for me

Glad to hear that you find it useful!