diff options
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r-- | python/fatcat_tools/importers/grobid_metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/grobid_metadata.py b/python/fatcat_tools/importers/grobid_metadata.py index d525d4f7..b84f7145 100644 --- a/python/fatcat_tools/importers/grobid_metadata.py +++ b/python/fatcat_tools/importers/grobid_metadata.py @@ -68,7 +68,7 @@ class GrobidMetadataImporter(FatcatImporter): release_date = None if obj.get('date'): # TODO: only returns year, ever? how to handle? - release_date = datetime.datetime(year=int(obj['date'][:4]), month=1, day=1) + release_date = datetime.datetime(year=int(obj['date'][:4]), month=1, day=1).date() if obj.get('doi'): extra['doi'] = obj['doi'] |