[ 
https://issues.apache.org/jira/browse/AIRFLOW-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484559#comment-16484559
 ] 

Chao-Han Tsai edited comment on AIRFLOW-2510 at 5/22/18 8:57 PM:
-----------------------------------------------------------------

[~artwr]
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



was (Author: milton0825):
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)

Reply via email to