jedcunningham commented on a change in pull request #21646:
URL: https://github.com/apache/airflow/pull/21646#discussion_r809246752



##########
File path: docs/apache-airflow/timezone.rst
##########
@@ -120,11 +121,18 @@ it is therefore important to make sure this setting is 
equal on all Airflow node
 .. note::
     For more information on setting the configuration, see 
:doc:`howto/set-config`
 
+.. _timezone_aware_dags:
+
 Time zone aware DAGs
 --------------------
 
 Creating a time zone aware DAG is quite simple. Just make sure to supply a 
time zone aware ``start_date``
-using ``pendulum``.
+using ``pendulum``. Don't try to use standard library
+`timezone <https://docs.python.org/3/library/datetime.html#timezone-objects>`_ 
as they are known to
+have limitations and we deliberately disallow using them in DAGs.
+
+, as this will throw serialization
+errors.

Review comment:
       ```suggestion
   ```
   
   Leftovers?




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to