You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.
What language does this apply to?
python
Describe the problem you are trying to solve.
Remove DeprecationWarning for
datetime.datetime.utcnow()
Describe the solution you'd like
Change
datetime.datetime.utcnow()
in python/google/protobuf/internal/well_known_types.py todatetime.datetime.now(datetime.UTC)
if the object should be timezone aware ordatetime.datetime.now(datetime.UTC).replace(tzinfo=None)
if it should be like nowDescribe alternatives you've considered
no alternatives
Additional context
no context
The text was updated successfully, but these errors were encountered: