Hotfix for empty datetimes

This commit is contained in:
Dniel97 2023-11-01 22:48:32 +01:00
parent 4af8ce08f3
commit 06d33f61e9
Signed by: Dniel97
GPG Key ID: 6180B3C768FB2E08
1 changed files with 1 additions and 1 deletions

View File

@ -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