gbif / parsers

Various GBIF parsers for dates, countries, language, taxon ranks, etc
Apache License 2.0
4 stars 8 forks source link

False "Recorded date mismatch" issue reported by the date parser #6

Closed cgendreau closed 6 years ago

cgendreau commented 8 years ago

In the occurrence interpreter, when an eventDate that can not be parsed with full confidence is compared with the atomized version of that date, the date parser reports a "Recorded date mismatch" even if the atomized date would match one of the possible dates from the eventDate.

Example:

In order to solve this issue we must change the interface of ParseResult to allow alternativePayload to be returned.

ahahn-gbif commented 7 years ago

example: https://www.gbif.org/occurrence/1585284262 all records from this filter: https://www.gbif.org/occurrence/search?dataset_key=2dca5fbd-1989-4634-b745-269ff1098ebf&issue=RECORDED_DATE_MISMATCH