Joaquin Casanova
Results
2
comments of
Joaquin Casanova
I have used this approach thanks to the advice of @vxtals import pendulum import pytzdata pytzdata.set_directory("/usr/share/zoneinfo") LOCAL_TZ_NAME = "America/Mexico_City" LOCAL_TZ = pendulum.timezone(LOCAL_TZ_NAME) now = pendulum.now(LOCAL_TZ) now
Well the other option is to use another time zone with the same time as Mexico_City such as **America/Guatemala**. This is the last resource