fix(config): 🐛 fix timezone with ZoneInfo class

This commit is contained in:
2026-09-17 18:20:50 +02:00
parent fa5987215f
commit 08c314420c
+2 -2
View File
@@ -1,4 +1,4 @@
from datetime import timedelta, timezone
from zoneinfo import ZoneInfo
from enum import Enum
from pathlib import Path
@@ -14,7 +14,7 @@ FIXTURE_PATH = TEST_PATH / "fixtures"
# date and time
DATETIME_FORMAT = "%d/%m/%Y %H:%M:%S"
FRENCH_TIMEZONE = timezone(offset=timedelta(hours=2)) # UTC+2 = CEST
FRENCH_TIMEZONE = ZoneInfo("Europe/Paris")
# file type