[
https://issues.apache.org/jira/browse/AIRFLOW-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484511#comment-16484511
]
Arthur Wiedmer commented on AIRFLOW-2510:
-----------------------------------------
Have you tried using yesterday_ds and tomorrow_ds ?
https://github.com/apache/incubator-airflow/blob/1f0a717b65e0ea7e0127708b084baff0697f0946/airflow/models.py#L1755
> Introduce new macros: prev_ds and next_ds
> -----------------------------------------
>
> Key: AIRFLOW-2510
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2510
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Chao-Han Tsai
> Assignee: Chao-Han Tsai
> Priority: Major
>
> Introduce new macros {{ prev_ds }} and {{ next_ds }}.
> {{ prev_ds }}: the previous execution date as {{ YYYY-MM-DD }}
> {{ next_ds }}: the next execution date as {{ YYYY-MM-DD }}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)