akoumjian / datefinder

Find dates inside text using Python and get back datetime objects
http://datefinder.readthedocs.org/en/latest/
MIT License
635 stars 167 forks source link

Fails to detect date if text is '2023-10-04 decision' or '2023-10-04 novel' #196

Open yangch opened 1 year ago

yangch commented 1 year ago

Lastest release version.

If you run following script, there is no matched output.

import datefinder

s = 'TEST 2023-04-10 novel'

matches = datefinder.find_dates(s) # No matches for match in matches: print(match)