msumit closed pull request #4172: [AIRFLOW-XXX] Revise template variables
documentation
URL: https://github.com/apache/incubator-airflow/pull/4172
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/docs/code.rst b/docs/code.rst
index 9e7ac7d272..67c814a881 100644
--- a/docs/code.rst
+++ b/docs/code.rst
@@ -266,10 +266,10 @@ Variable Description
if ``{{ ds }}`` is ``2016-01-01`` and
``schedule_interval`` is ``@weekly``,
``{{ next_ds }}`` will be ``2016-01-08``
``{{ next_ds_nodash }}`` the next execution date as ``YYYYMMDD`` if
exists, else ``None`
-``{{ yesterday_ds }}`` yesterday's date as ``YYYY-MM-DD``
-``{{ yesterday_ds_nodash }}`` yesterday's date as ``YYYYMMDD``
-``{{ tomorrow_ds }}`` tomorrow's date as ``YYYY-MM-DD``
-``{{ tomorrow_ds_nodash }}`` tomorrow's date as ``YYYYMMDD``
+``{{ yesterday_ds }}`` the day before the execution date as
``YYYY-MM-DD``
+``{{ yesterday_ds_nodash }}`` the day before the execution date as
``YYYYMMDD``
+``{{ tomorrow_ds }}`` the day after the execution date as
``YYYY-MM-DD``
+``{{ tomorrow_ds_nodash }}`` the day after the execution date as
``YYYYMMDD``
``{{ ts }}`` same as ``execution_date.isoformat()``
``{{ ts_nodash }}`` same as ``ts`` without ``-`` and ``:``
``{{ execution_date }}`` the execution_date, (datetime.datetime)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services