akoumjian / datefinder

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

Regression in v0.6.1 #55

Open mbatchkarov opened 7 years ago

mbatchkarov commented 7 years ago

Hello, it seems that changing from dateparser to dateutils in 0.6.1 significantly reduces accuracy in languages other than English.

In 0.6.0, installed from PyPI, I get the correct output for these Bulgarian dates

1 май 1974               1974-05-01 00:00:00
1 януари 1970        1970-01-01 00:00:00

In the latest master, I get:

1 януари 1970        1970-08-10 00:00:00
1 май 1974               1974-08-10 00:00:00

Dates are correctly identified, but they are not parsed right. It is suspicious that both inputs resolve to 10 August.