From fd4c99032dbbedd6325aabacb0bc800b24ede413 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Tue, 23 Jun 2020 12:21:46 -0700 Subject: [PATCH] Additional fix for issue #178 --- osxphotos/photosdb/photosdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]