Hotfix for empty datetimes
This commit is contained in:
parent
4af8ce08f3
commit
06d33f61e9
|
@ -205,7 +205,7 @@ class Importer:
|
|||
if not self.use_mysql:
|
||||
for column in datetime_columns:
|
||||
ts = row[column["name"]]
|
||||
if ts is None or ts == "":
|
||||
if ts is None or ts == 0:
|
||||
continue
|
||||
|
||||
# actuall remove the last 3 zeros for the correct timestamp
|
||||
|
|
Loading…
Reference in New Issue