WDscholia / scholia

Wikidata-based scholarly profiles
https://scholia.toolforge.org
Other
219 stars 78 forks source link

Fix #1714 - Parse stringified date to datetime in NIPS scraper #2404

Closed DaxServer closed 8 months ago

DaxServer commented 8 months ago

Fixes #1714

Description

This change parses the date string "2021-01-01" to a datetime using dateutil to extract the year.

Caveats

Please list anything which has been left out of this PR or which should be considered before this PR is accepted Check any of the following which apply:

If you make changes to the Python code

Checklist

fnielsen commented 8 months ago

Merged with https://github.com/WDscholia/scholia/commit/e03fb53f1986abefc55145c37e9fe258451a7c45