fhgr/harvest

Improve date detection

rogerwaldvogel opened this issue · 0 comments

To detect a date the library https://dateparser.readthedocs.io/en/latest/ is used. The dateparser does not detect german dates very well. Extend therefore the wrapper https://gitlab.com/a1bert/harvest/-/blob/master/src/harvest/date_search.py. When no date has been found use custom regex pattern to detect dates.