From 5fd02a5f743cd20c27b1b6de6ce34ad4ca402fe0 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Wed, 25 Dec 2019 20:04:21 -0800 Subject: [PATCH] Updated PhotoInfo.json to use isoformat for dates --- osxphotos/photoinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osxphotos/photoinfo.py b/osxphotos/photoinfo.py index c316ad47..e7095803 100644 --- a/osxphotos/photoinfo.py +++ b/osxphotos/photoinfo.py @@ -488,7 +488,7 @@ class PhotoInfo: "uuid": self.uuid, "filename": self.filename, "original_filename": self.original_filename, - "date": str(self.date), + "date": self.date.isoformat(), "description": self.description, "title": self.title, "keywords": self.keywords,