You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/22 23:52:42 UTC

[GitHub] [airflow] uranusjr edited a comment on issue #16551: AttributeError: 'datetime.timezone' object has no attribute 'name'

uranusjr edited a comment on issue #16551:
URL: https://github.com/apache/airflow/issues/16551#issuecomment-866411375


   If we coerce the datetime object in `__init__`, we can remove the later timezone type coercion we have right now. `pendulum.instance(start_date).tzinfo` is already a `pendulum.Timezone` and don't need to be converted again.
   
   (IOW you did the right thing removing it in the PR)


-- 
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:
users@infra.apache.org