diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-24 18:09:02 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-24 18:09:02 -0700 |
commit | 526bf5eb360755c1fde99c062d2463e9577fe50a (patch) | |
tree | a24d8dd53994c1312ba4dd980606f17dc57a414e /python | |
parent | 4b77ddfd0967691aa03af90af7f4c8919576a546 (diff) | |
download | fatcat-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.py | 2 |
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'), |