You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Arlo Purcell (JIRA)" <ji...@apache.org> on 2019/07/17 14:27:00 UTC
[jira] [Created] (AIRFLOW-4981) execution_date in macro is not a
pendulum DateTime for fixed cron schedules
Arlo Purcell created AIRFLOW-4981:
-------------------------------------
Summary: 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
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)