fix(d2): datetime.now(UTC) everywhere + SQLITE-001 automation tests on ephemeral postgres
Check Cross-Plugin Imports / check (push) Has been cancelled
Check Cross-Plugin Imports / check (push) Has been cancelled
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user