fix(config): 🐛 fix timezone with ZoneInfo class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user