aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-24 18:09:02 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-24 18:09:02 -0700
commit526bf5eb360755c1fde99c062d2463e9577fe50a (patch)
treea24d8dd53994c1312ba4dd980606f17dc57a414e /python
parent4b77ddfd0967691aa03af90af7f4c8919576a546 (diff)
downloadfatcat-526bf5eb360755c1fde99c062d2463e9577fe50a.tar.gz
fatcat-526bf5eb360755c1fde99c062d2463e9577fe50a.zip
use correct publication date in crossref_importer (oops)
Diffstat (limited to 'python')
-rw-r--r--python/fatcat/crossref_importer.py2
1 files changed, 1 insertions, 1 deletions
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'),