diff --git a/src/agenda_culturel/import_tasks/extractor.py b/src/agenda_culturel/import_tasks/extractor.py index 67c855a..e8b8339 100644 --- a/src/agenda_culturel/import_tasks/extractor.py +++ b/src/agenda_culturel/import_tasks/extractor.py @@ -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.'