Fix datetime

This commit is contained in:
Urtzi Alfaro
2025-07-17 15:02:25 +02:00
parent cb80a93c4b
commit a9e6cdae09
19 changed files with 54 additions and 54 deletions

View File

@@ -21,7 +21,7 @@ class BaseEvent:
if not self.event_id:
self.event_id = str(uuid.uuid4())
if not self.timestamp:
self.timestamp = datetime.utcnow()
self.timestamp = datetime.now(datetime.timezone.utc)
# Training Events
@dataclass