harrold-mussa opened a new pull request, #60046: URL: https://github.com/apache/airflow/pull/60046
### Related Issues Closes: #41772 ### Description This PR updates the documentation for Airflow macros to guide users away from the deprecated `datetime.utcnow()` and `datetime.utcfromtimestamp()` methods, as per Issue #41772. It recommends using `macros.datetime.now(macros.dateutil.tz.UTC)` which is the modern non-deprecated way to handle UTC in Python 3.12+. -- 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]
