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

Major Bug while detecting day in year starting dates #176

Open khanfarhan10 opened 2 years ago

khanfarhan10 commented 2 years ago
list(datefinder.find_dates("2020,31,August ", first="day"))
# [datetime.datetime(2020, 8, 17, 0, 0)]

list(datefinder.find_dates("2020,31,August ", first="year"))
# [datetime.datetime(2020, 8, 17, 0, 0)]
khanfarhan10 commented 2 years ago

@akoumjian