Closed Aiky30 closed 3 years ago
Fixes error: localtime() cannot be applied to a naive date time object.
The issue was introduced in the following commit, as it was only just released it has only just been seen: https://github.com/django-cms/djangocms-versioning/commit/492d01c974e40b007b71e2a7e961a9019a0d5ac4
The test suite forced the use fo a Timezone hence why this was missed when testing because no dates were ever naive.
Fixes error: localtime() cannot be applied to a naive date time object.
The issue was introduced in the following commit, as it was only just released it has only just been seen: https://github.com/django-cms/djangocms-versioning/commit/492d01c974e40b007b71e2a7e961a9019a0d5ac4
The test suite forced the use fo a Timezone hence why this was missed when testing because no dates were ever naive.