DeprecationWarning: datetime.datetime.utcnow() #4496
Labels
config
feature-request
This issue requests a feature.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
p3
This is a minor priority issue
Describe the feature
Support for new datetime method support i.e datetime.now(timezone.utc)
Use Case
Getting error in while using boto3 and botocore
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
dt = datetime.utcnow()
Proposed Solution
No response
Other Information
No response
Acknowledgements
SDK version used
1.37.26
Environment details (OS name and version, etc.)
mac
The text was updated successfully, but these errors were encountered: