mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
[PR #8222/524d5883 backport][stable-8] Avoid deprecated utcnow() (#8243)
Avoid deprecated utcnow() (#8222)
Avoid deprecated utcnow().
(cherry picked from commit 524d5883b8)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
3
changelogs/fragments/8222-datetime.yml
Normal file
3
changelogs/fragments/8222-datetime.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
minor_changes:
|
||||
- "Use offset-aware ``datetime.datetime`` objects (with timezone UTC) instead of offset-naive UTC timestamps,
|
||||
which are deprecated in Python 3.12 (https://github.com/ansible-collections/community.general/pull/8222)."
|
||||
Reference in New Issue
Block a user