diff --git a/osxphotos/photosdb/photosdb.py b/osxphotos/photosdb/photosdb.py index a670e800..34279702 100644 --- a/osxphotos/photosdb/photosdb.py +++ b/osxphotos/photosdb/photosdb.py @@ -1516,7 +1516,7 @@ class PhotosDB: try: info["imageDate"] = datetime.fromtimestamp(row[5] + td) except ValueError: - info["imageDate"] = datetime.date(1970, 1, 1) + info["imageDate"] = datetime(1970, 1, 1) info["imageTimeZoneOffsetSeconds"] = row[6] info["hidden"] = row[9]