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

'31/08/2012 to 30/08/2013' not recognised #94

Closed kaizhan closed 5 years ago

kaizhan commented 6 years ago

I found if there is a 'to' in between two date, both won't be recognised

jsenecal commented 6 years ago

Could you try my fork? I added tests and made changes that could address your use case. https://github.com/connectitnet/datefinder/blob/master/tests/test_find_dates.py#L53-L57