Closed jacquerie closed 7 years ago
For this we could probably use http://dateutil.readthedocs.io/en/stable/parser.html#dateutil.parser.parse and a hack similar to one described in http://stackoverflow.com/questions/8434854/parsing-a-date-in-python-without-using-a-default to be able to parse incomplete dates.
This issue was moved to inspirehep/inspire-dojson#10
https://github.com/inspirehep/inspire-next/pull/2052 expanded the regexp that we use to extract the defense date from the
500
MARC key, but is still missing cases likefrom https://inspirehep.net/record/887715/export/xme.