La date retournée est du texte

Fix #285
This commit is contained in:
Jean-Marie Favreau 2025-01-25 19:10:44 +01:00
parent 7878b60eb6
commit a7e5645db0

View File

@ -184,7 +184,7 @@ class Extractor(ABC):
if start_day is None:
print("WARNING: cannot publish an event without start day")
published = False
start_day = datetime.now().date()
start_day = datetime.now().date().strftime("%Y-%m-%d")
comments = 'Warning: the date has not been imported correctly.'
title += ' - Warning: the date has not been imported correctly.'