summaryrefslogtreecommitdiff
path: root/archaeological_operations/data_importer.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/data_importer.py')
-rw-r--r--archaeological_operations/data_importer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_operations/data_importer.py b/archaeological_operations/data_importer.py
index 94bbdff7c..252fdcca0 100644
--- a/archaeological_operations/data_importer.py
+++ b/archaeological_operations/data_importer.py
@@ -170,9 +170,9 @@ class OperationImporterBibracte(Importer):
# resp. lien IMPORT avec personne
ImportFormater('in_charge__raw_name', UnicodeFormater(300),),
# début
- ImportFormater('start_date', DateFormater('%Y/%m/%d'),),
+ ImportFormater('start_date', DateFormater(['%Y/%m/%d']),),
# fin
- ImportFormater('excavation_end_date', DateFormater('%Y/%m/%d'),),
+ ImportFormater('excavation_end_date', DateFormater(['%Y/%m/%d']),),
# Chronos
ImportFormater('periods', TypeFormater(models.Period, many_split="&"),
required=False),
@@ -242,7 +242,7 @@ class DocImporterBibracte(Importer):
# auteur
ImportFormater('authors__person__raw_name', UnicodeFormater(300), required=False),
# annee
- ImportFormater('creation_date', DateFormater('%Y'),),
+ ImportFormater('creation_date', DateFormater(['%Y']),),
# format
ImportFormater('format_type', TypeFormater(Format), required=False),
# description legende