Config PYTZ in tryton 5.2


I’m using tryton 5.2 with python 3.7 under a nginx and uwsgi. I have configured PYTZ in company info and when I print a report, the timezone is different from the configured company.

In the report I used’%H:%M:%S’) to display the now datetime but it is different from the server and different from the PYTZ config. Do I need some special config to display the timezone correctly?

Thanks in advance

Tryton always run in UTC timezone. If you want to have the current date (following the company timezone), you must use methods.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.