Skip to content

Conversation

@ecerulm
Copy link
Contributor

@ecerulm ecerulm commented Jun 22, 2021

closes: #16551

Previous implementation tried to force / coerce the provided timezone (from the dag's start_date) into a pendulum.tz.timezone.* that only worked if the provided timezone was already a pendulum's timezone and it specifically failed when with datetime.timezone.utc as timezone.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

Copy link
Member

@ashb ashb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor cyhanges

@ashb ashb added this to the Airflow 2.1.2 milestone Jun 22, 2021
@ecerulm ecerulm force-pushed the pendulumtimezone2 branch from 9ce76cd to cbbf4d4 Compare June 23, 2021 12:33
@kaxil kaxil merged commit 86c2091 into apache:main Jun 23, 2021
@ecerulm ecerulm deleted the pendulumtimezone2 branch June 24, 2021 06:05
Jorricks pushed a commit to Jorricks/airflow that referenced this pull request Jun 24, 2021
… ``name`` (apache#16599)

closes: apache#16551

Previous implementation tried to force / coerce the provided timezone (from the dag's `start_date`) into a `pendulum.tz.timezone.*` that only worked if the provided timezone was already a pendulum's timezone and it specifically failed when with `datetime.timezone.utc` as timezone.
@ashb ashb modified the milestones: Airflow 2.1.2, Airflow 2.1.3 Jul 7, 2021
jhtimmins pushed a commit that referenced this pull request Aug 9, 2021
… ``name`` (#16599)

closes: #16551

Previous implementation tried to force / coerce the provided timezone (from the dag's `start_date`) into a `pendulum.tz.timezone.*` that only worked if the provided timezone was already a pendulum's timezone and it specifically failed when with `datetime.timezone.utc` as timezone.

(cherry picked from commit 86c2091)
jhtimmins pushed a commit that referenced this pull request Aug 13, 2021
… ``name`` (#16599)

closes: #16551

Previous implementation tried to force / coerce the provided timezone (from the dag's `start_date`) into a `pendulum.tz.timezone.*` that only worked if the provided timezone was already a pendulum's timezone and it specifically failed when with `datetime.timezone.utc` as timezone.

(cherry picked from commit 86c2091)
kaxil pushed a commit that referenced this pull request Aug 17, 2021
… ``name`` (#16599)

closes: #16551

Previous implementation tried to force / coerce the provided timezone (from the dag's `start_date`) into a `pendulum.tz.timezone.*` that only worked if the provided timezone was already a pendulum's timezone and it specifically failed when with `datetime.timezone.utc` as timezone.

(cherry picked from commit 86c2091)
jhtimmins pushed a commit that referenced this pull request Aug 17, 2021
… ``name`` (#16599)

closes: #16551

Previous implementation tried to force / coerce the provided timezone (from the dag's `start_date`) into a `pendulum.tz.timezone.*` that only worked if the provided timezone was already a pendulum's timezone and it specifically failed when with `datetime.timezone.utc` as timezone.

(cherry picked from commit 86c2091)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError: 'datetime.timezone' object has no attribute 'name'

3 participants