From 526bf5eb360755c1fde99c062d2463e9577fe50a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 24 Sep 2018 18:09:02 -0700 Subject: use correct publication date in crossref_importer (oops) --- python/fatcat/crossref_importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat/crossref_importer.py b/python/fatcat/crossref_importer.py index 747fadb0..fb227a6a 100644 --- a/python/fatcat/crossref_importer.py +++ b/python/fatcat/crossref_importer.py @@ -209,7 +209,7 @@ class FatcatCrossrefImporter(FatcatImporter): pmid=extids['pmid'], pmcid=extids['pmcid'], wikidata_qid=extids['wikidata_qid'], - release_date=obj['created']['date-time'], + release_date=obj['issued']['date-time'], issue=obj.get('issue'), volume=obj.get('volume'), pages=obj.get('page'), -- cgit v1.2.3