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/21 07:46:33 UTC

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

uranusjr commented on issue #16551:
URL: https://github.com/apache/airflow/issues/16551#issuecomment-864807559


   I think the timezone argument was really designed to only except `pendulum.tz.Timezone`, not `datetime.timezone` (or `dateutil.tz.*` for that matter). We can probably fix this by converting `start_date`, `end_date` etc. on `DAG` and `BaseOperator` (any others? `TaskGroup`?) to `pendulum.DateTime`.


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