Skip to content

TypeError: can't compare offset-naive and offset-aware datetimes #151

@VuDn5

Description

@VuDn5

Dear @dkmstr , @Future998
.
In openUDS v4.0 doen't have this commit:
b014967
Can we backport it to that branch?
.
Use aware datetime instead of naive datetime Django 5.2+ usually uses aware datetime. It also is a best practice. We can't compare offset-naive and offset-aware datetimes. And this causes TypeError in Django 5.2.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions