Suppression d'une trace inutile
This commit is contained in:
parent
c9df18c822
commit
fc86738ee3
@ -1279,8 +1279,6 @@ class Event(models.Model):
|
||||
and event_structure["last_modified"] is not None
|
||||
):
|
||||
d = datetime.fromisoformat(event_structure["last_modified"])
|
||||
if d.year == 2024 and d.month > 2:
|
||||
logger.warning("last modified {}".format(d))
|
||||
if d.tzinfo is None or d.tzinfo.utcoffset(d) is None:
|
||||
d = timezone.make_aware(d, timezone.get_default_timezone())
|
||||
event_structure["modified_date"] = d
|
||||
|
Loading…
Reference in New Issue
Block a user