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

Date not found in string #132

Open kmeelu opened 4 years ago

kmeelu commented 4 years ago

String: License Cancellation Date: 07/31/2021

Expected: One Match with DateTime object for July 31, 2021 Actual: No Matches

Please let me know if I'm doing something wrong. Tried this script:

import datefinder
matches = datefinder.find_dates("License Cancellation Date: 07/31/2021")
for match in matches:
   print(match)