Taragolis commented on issue #38337:
URL: https://github.com/apache/airflow/issues/38337#issuecomment-2010368889

   > The timezone is completely ignored.
   
   Heh, that is what I exactly (or close) asked into the `#contributors` 
channel in [Slack](https://s.apache.org/airflow-slack) today: 
https://apache-airflow.slack.com/archives/C06K9Q5G2UA/p1710946977026229
   
   
   > I have a look on DTZ rules 
([ruff](https://docs.astral.sh/ruff/rules/#flake8-datetimez-dtz), 
[flake8-datetimez](https://pypi.org/project/flake8-datetimez/)) and somethings 
tells me that enable some of the rules or subsequent of it might be useful.
   Especially with .today() which might return inconsistent result in case if 
server setup different timezone rather than defined into the 
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#default-timezone
   WDYT?


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to