This is an automated email from the ASF dual-hosted git repository.
bolke 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 d0f246398f Document how to use the system's timezone database (#34667)
d0f246398f is described below
commit d0f246398ff871bfa177f91912980d8a0f0f1c50
Author: Bolke de Bruin <[email protected]>
AuthorDate: Thu Sep 28 16:21:30 2023 +0200
Document how to use the system's timezone database (#34667)
The latest release of pendulum (2.1.2) contains an outdated
timezone database. It is better to rely on the local
system's database.
---
docs/apache-airflow/authoring-and-scheduling/timezone.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/apache-airflow/authoring-and-scheduling/timezone.rst
b/docs/apache-airflow/authoring-and-scheduling/timezone.rst
index 86ea468534..6475a8abfc 100644
--- a/docs/apache-airflow/authoring-and-scheduling/timezone.rst
+++ b/docs/apache-airflow/authoring-and-scheduling/timezone.rst
@@ -40,6 +40,10 @@ The time zone is set in ``airflow.cfg``. By default it is
set to UTC, but you ch
an arbitrary IANA time zone, e.g. ``Europe/Amsterdam``. It is dependent on
``pendulum``, which is more accurate than ``pytz``.
Pendulum is installed when you install Airflow.
+.. note::
+ Pendulum relies by default on its own timezone database, which is not
updated as frequently as the IANA database.
+ You can make Pendulum rely on the system's database by setting the
``PYTZDATA_TZDATADIR`` environment variable
+ to your system's database, e.g. ``/usr/share/zoneinfo``.
Web UI
------