summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/datacite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py
index 6eed8991..39033429 100644
--- a/python/fatcat_tools/importers/datacite.py
+++ b/python/fatcat_tools/importers/datacite.py
@@ -1191,7 +1191,7 @@ def parse_single_date(
return None, None, None
if isinstance(value, int):
value = str(value)
- parser = dateparser.DateDataParser()
+ parser = dateparser.date.DateDataParser()
try:
# Results in a dict with keys: date_obj, period, locale.
parse_result = parser.get_date_data(value)