You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/10/14 12:06:11 UTC

[GitHub] [airflow] ashb commented on a change in pull request #6324: [AIRFLOW-XXX] Clarify daylight savings time behaviour

ashb commented on a change in pull request #6324: [AIRFLOW-XXX] Clarify daylight savings time behaviour
URL: https://github.com/apache/airflow/pull/6324#discussion_r334448114
 
 

 ##########
 File path: docs/timezone.rst
 ##########
 @@ -147,18 +147,20 @@ It is left up to the DAG to handle this.
     local_tz = pendulum.timezone("Europe/Amsterdam")
     local_tz.convert(execution_date)
 
-
 Cron schedules
 ''''''''''''''
 
-In case you set a cron schedule, Airflow assumes you will always want to run at the exact same time. It will
-then ignore day light savings time. Thus, if you have a schedule that says
-run at the end of interval every day at 08:00 GMT+1 it will always run at the end of interval 08:00 GMT+1,
-regardless if day light savings time is in place.
-
+Time zone aware DAGs that use cron schedules respect daylight savings
+time. For example, a DAG with a start date in the `US/Eastern` time zone
+with a schedule of `0 0 * * *` will run daily at 04:00 UTC during
 
 Review comment:
   ```suggestion
   with a schedule of ``0 0 * * *`` will run daily at 04:00 UTC during
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services