This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-7-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 48e974db2f8ba29e49f350116d7c0ef2584c29b8 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. (cherry picked from commit d0f246398ff871bfa177f91912980d8a0f0f1c50) --- 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 ------
