Skip to content

datetime.datetime.now() Items still deprecated (see #8552) #13804

@teward

Description

@teward

What problem has occurred? What issues has it caused?

See #8552.

What was supposed to fix deprecation warnings is still unfixed. It's busted still as of today.

Nov 18 17:20:58 smokedetector-cerberus python3[3147]: /home/smokey/SmokeDetector/ws.py:235: 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).

What would you like to happen/not happen?

Remove deprecation warnings.

I'll be looking through this one myself.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions