I was able to change the time zone of the consoles to UTC+1 in PythonAnywhere, but the web2py apps are still in UTC.
Does anyone know how I can change make the web2py apps comply?
I was told to add this
os.environ["TZ"] = "Europe/Lisbon"
to the start of wsgi configuration file (located at /var/www), but that didn't work.
Thanks,
JM
Hello,I was able to change the time zone of the consoles to UTC+1 in PythonAnywhere, but the web2py apps are still in UTC.
Does anyone know how I can change make the web2py apps comply?
I was told to add this
os.environ["TZ"] = "Europe/Lisbon"
to the start of wsgi adapter (located at /var/www), but that didn't work.
Thanks,
JM