ecerulm commented on pull request #16631: URL: https://github.com/apache/airflow/pull/16631#issuecomment-867624139
> Man I hate timezones Who doesn't ? I was just focused on getting rid of the exceptions when you use `+01:00`, but I guess there is a bigger discussion to be had regarding the timezone handling in airflow. I believe that in part the problem is that airflow tries to "remember" what was the original timezone, where is reality the approach IMHO should be to accept timezone-aware datetimes, or convert to timezone-aware if a naive datetime is provided but don't try to hold on to the originally specified timezone. It's should be a GUI decision how to present the datetime to the user. * For CLI, present in in the time is whatever the user selected as their default timezone (/etc/timezone, ) so that would be "local" timezone * For HTML GUI, get the preferred timezone for the browser js api , but also maybe have a dropdown menu or something so that the user can see the dates in some other timezone . But in general get rid of "remembering" what was the original datetime's timezone. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
