GitHub user sandeepkalra added a comment to the discussion: Unable to login 
because of timezone error

Thanks everyone. I got success in fixing and would like to share the complete 
fix. 

There were few things that I did in my Docker container.

[1]    RUN set -eux \
        && rm -f rm -f /etc/localtime  \
        && ln -s /usr/share/zoneinfo/UTC /etc/localtime

This was the suggestion above, and made sure that the '/etc/localtime' is not 
mapped to '/usr/share/zoneinfo//UTC' (note the double //).  This in itself did 
not solve the issue.

[2] 
ENV TZ=America/Chicago
I found that even when the correct timezone was mentioned in airflow.conf, the 
settings were not being passed in tz library and it still ended with /UTC.



GitHub link: 
https://github.com/apache/airflow/discussions/44407#discussioncomment-11578468

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to