Commit f9958e4d authored by Ludovic Stephan's avatar Ludovic Stephan
Browse files

Fix : plus de warnings chelous pendant les tests

Showing with 1 addition and 1 deletion
+1 -1
......@@ -9,7 +9,7 @@ KFET_WAKES_UP_AT = time(5, 0) # La K-Fêt ouvre à 5h (UTC) du matin
def kfet_day(year, month, day, start_at=KFET_WAKES_UP_AT):
"""Étant donné une date, renvoie un objet `datetime`
correspondant au début du 'jour K-Fêt' correspondant."""
return datetime.combine(date(year, month, day), start_at)
return datetime.combine(date(year, month, day), start_at, tzinfo=timezone.utc)
def to_kfet_day(dt, start_at=KFET_WAKES_UP_AT):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment