[
https://issues.apache.org/jira/browse/AIRFLOW-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484559#comment-16484559
]
Chao-Han Tsai commented on AIRFLOW-2510:
----------------------------------------
Let me clarify a bit:
prev_ds = ds - schedule_interval in YYYY-MM-DD format
next_ds = ds + schedule_interval in YYYY-MM-DD format
whereas
yesterday_ds = ds-1
tomorrow_ds = ds+1
> 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)