scrapinghub / dateparser

python parser for human readable dates
BSD 3-Clause "New" or "Revised" License
2.56k stars 465 forks source link

Added check for date-formats #1141

Open RyanWalker277 opened 1 year ago

RyanWalker277 commented 1 year ago

Fixes #1020

Code changes

Added a function to check if an input date_string belongs to specefied date_formats or not

Help Required

Even though I did an extremely small code change , It is failing some tests. Can any of the available maintainers help me determine the cause?

cc - @Gallaecio

RyanWalker277 commented 1 year ago

Hey @Gallaecio , I have fixed the test cases issue. It is now passing all the test cases. Kindly review it.