gbif / parsers

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

Improve date comparaison at different resolution #8

Closed cgendreau closed 5 years ago

cgendreau commented 7 years ago

If eventDate and atomic fields (year, month, day) are not at the same resolution but do not contradict, we should not flag RECORDED_DATE_MISMATCH.

A similar issue was fixed by commit https://github.com/gbif/parsers/commit/677cd2f799b141107da05205d6a5e6b4626b3f3c

see https://api.gbif.org/v1/occurrence/1135962281/verbatim