[
https://issues.apache.org/jira/browse/AIRFLOW-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894764#comment-16894764
]
ASF GitHub Bot commented on AIRFLOW-4981:
-----------------------------------------
potiuk commented on pull request #5654: [AIRFLOW-4981][AIRFLOW-4788] Always use
pendulum DateTimes in task in…
URL: https://github.com/apache/airflow/pull/5654
----------------------------------------------------------------
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]
> execution_date in macro is not a pendulum DateTime for fixed cron schedules
> ---------------------------------------------------------------------------
>
> Key: AIRFLOW-4981
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4981
> Project: Apache Airflow
> Issue Type: Bug
> Components: DAG
> Affects Versions: 1.10.3
> Reporter: Arlo Purcell
> Assignee: Arlo Purcell
> Priority: Minor
>
> When using a fixed cron schedule_interval such as "0 12 * * *", the
> execution_date (as well as next_execution_date) available in macros is a
> python datetime object, not a pendulum DateTime as indicated in the macro
> docs. For my purposes, this means that methods such as in_timezone are not
> available.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)