aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-03 14:02:30 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-03 16:46:07 -0700
commit924639f7faf8c2fc1a635c0f27a13d98b47fc453 (patch)
tree2334a97c7dac987947be9368dd8f26a88e2541f0 /python
parent9f0d6a1cea94ad395cba87589fd943c1f77dc18f (diff)
downloadfatcat-924639f7faf8c2fc1a635c0f27a13d98b47fc453.tar.gz
fatcat-924639f7faf8c2fc1a635c0f27a13d98b47fc453.zip
datacite: add comment about potential date parsing bug
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/importers/datacite.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py
index 39033429..551d9d9b 100644
--- a/python/fatcat_tools/importers/datacite.py
+++ b/python/fatcat_tools/importers/datacite.py
@@ -1274,6 +1274,7 @@ def parse_datacite_dates(
print("fallback for {}".format(value), file=sys.stderr)
release_date, release_month, release_year = parse_single_date(value)
+ # XXX: result has not been updated since the above line
if result is None:
# Unparsable date.
return release_date, release_month, release_year