This commit is contained in:
Ruben Oostinga 2016-02-11 15:31:01 +01:00
Родитель 73261df05c
Коммит ccfb7c5da7
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -112,8 +112,11 @@ in all templates
Variable Description
================================= ====================================
``{{ ds }}`` the execution date as ``YYYY-MM-DD``
``{{ yesterday_ds }}`` yesterday's date as ``YYYY-MM-DD``
``{{ tomorrow_ds }}`` tomorrow's date as ``YYYY-MM-DD``
``{{ ds_nodash }}`` the execution date as ``YYYYMMDD``
``{{ 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``
``{{ ts }}`` same as ``execution_date.isoformat()``
``{{ ts_nodash }}`` same as ``ts`` without ``-`` and ``:``
``{{ execution_date }}`` the execution_date, (datetime.datetime)
@ -121,7 +124,6 @@ Variable Description
``{{ task }}`` the Task object
``{{ macros }}`` a reference to the macros package, described below
``{{ task_instance }}`` the task_instance object
``{{ ds_nodash }}`` the execution date as ``YYYYMMDD``
``{{ end_date }}`` same as ``{{ ds }}``
``{{ latest_date }}`` same as ``{{ ds }}``
``{{ ti }}`` same as ``{{ task_instance }}``