This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 3f7541b51c add clarification about timezone aware dags (#30467)
3f7541b51c is described below
commit 3f7541b51c748822bc56b5a71d047b4d644673ff
Author: eladkal <[email protected]>
AuthorDate: Wed Apr 5 11:42:26 2023 +0300
add clarification about timezone aware dags (#30467)
* add clarification about timezone aware dags
---
docs/apache-airflow/authoring-and-scheduling/timezone.rst | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/docs/apache-airflow/authoring-and-scheduling/timezone.rst
b/docs/apache-airflow/authoring-and-scheduling/timezone.rst
index 1beede69a2..86ea468534 100644
--- a/docs/apache-airflow/authoring-and-scheduling/timezone.rst
+++ b/docs/apache-airflow/authoring-and-scheduling/timezone.rst
@@ -150,6 +150,13 @@ date will be converted to UTC using the timezone
associated with ``start_date``
or ``end_date``, then for calculations this timezone information will be
disregarded.
+.. note::
+ When authoring a Timezone aware DAG you must make sure that the underlying
timezone library (for example: pendulum)
+ is updated with recent changes to regulations (daylight saving changes
etc...). When a change in time
+ is expected you should verify with the underlying timezone library that
the switch will happen as expected.
+ There might be a need to update the library version. As a general
recommendation if you can author DAGs in UTC
+ that is preferred.
+
Templates
'''''''''