fix(d2): datetime.now(UTC) everywhere + SQLITE-001 automation tests on ephemeral postgres
Check Cross-Plugin Imports / check (push) Has been cancelled

This commit is contained in:
Agent Zero
2026-08-24 01:22:42 +02:00
parent 5e0ffd91c2
commit d89044d8f7
6 changed files with 115 additions and 31 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ async def create_backup(
# Update backup record
backup.status = "completed"
backup.size_bytes = size_bytes
backup.completed_at = datetime.utcnow()
backup.completed_at = datetime.now(UTC)
await db.flush()
await db.refresh(backup)