akoumjian / datefinder

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

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

Open yangch opened 11 months ago

yangch commented 11 months 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)