notatallshaw-gts commented on issue #19450:
URL: https://github.com/apache/airflow/issues/19450#issuecomment-1536494966

   > phase out Pendulum from Airflow
   
   As a user of Airflow I would like to point out two use cases that will make 
transitioning off Pendulum difficult for users:
   
   1. Converting the time zone of a datetime macro
   2. Using the nice formatting Pendulum gives
   
   As an example, this is a macro I commonly write (usually as part of a 
filepath construction or something):
   
   ```
   {{ data_interval_end.in_tz(dag.timezone).format('YYYY_MM_DD') }}
   ```
   
   The formatting is easy to migrate (although not as nice) but I don't think 
there's anything in regular Python that makes it easy to switch the time zone 
of datetime correctly.


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