Changing TIME_ZONE in settings.py

Hi,

I’m trying to change TIME_ZONE = ‘UTC’ so my app would show the correct local time. I tried TIME_ZONE = ‘Europe/Kyiv’ and TIME_ZONE = ‘UTC+02:00’. I’m getting errors in both cases.

What is the correct way to do it?

What is the error you are getting?

What is your USE_TZ setting?

What operating system are you running this on?

(Also, see the notes at TIME_ZONE)

USE_TZ = True
it’s on pythonanywhere

hmmm… it’s strange. it works on my local computer, but doesn’t work on pythonanywhere