[fix] Version 2.80.1 synchronisee + corrections ruff (60 erreurs CI) #26

Merged
bruno merged 31 commits from fix/version-2.80.1-ruff into main 2026-10-27 23:00:14 -04:00
Showing only changes of commit f5ca656c04 - Show all commits
+2 -2
View File
@@ -19,7 +19,7 @@ Adaptations strictement équivalentes :
import logging
import os
import time
from datetime import datetime, timezone
from datetime import UTC, datetime
from pathlib import Path
from typing import Any
@@ -207,7 +207,7 @@ async def api_backups_list(
"file": rel_file,
"backup_file": fpath.name,
"timestamp": ts,
"datetime": datetime.fromtimestamp(ts, tz=timezone.utc).isoformat(),
"datetime": datetime.fromtimestamp(ts, tz=UTC).isoformat(),
"size": fsize,
"full_path": str(fpath),
})