Python scripts run from Jupyter return UTC but I expect local or host time.
My host machine's time is local and I have also run the following command:
quantrocket countdown timezone 'Australia/Sydney'
QuantRocket logging and Crontab behave as expected by reporting local/host time.
However, Python commands like datetime.now()
in custom scripts still return time in UTC.
Is there a Docker container that I need to make timezone aware? I assume datetime.now()
would then sync with the container and eliminate the need to set timezones using Python code.