date-extractor icon indicating copy to clipboard operation
date-extractor copied to clipboard

Extract dates from text

Results 18 date-extractor issues
Sort by recently updated
recently updated
newest added

As of now, 2015 is interpreting as Yr: 20, Month: 1, Day: 5 But it should be interpreted as Year 2015..... Changing p["date"] = ( "(?P" + "|".join( [p["iso"] ,...

https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary

Hi, I think it would be great if the extract_dates function could return the original matched text. ie: extract_dates('This happened 2020-01-01') would return matches and the original date text (2020-01-01)

I was processing a bunch of text blobs and the date/time is written like this: 23:49:58 on 11/9/2020. Would it be hard to add support for the time before the...

i tried with this string **"R-6/941/KAMDAR ROAD, 01/01/2021"** as its taking 941 as 1941 year

Running python 3.7.6 in jupyter notebook, occurred when trying to import using "from date_extractor import extract_dates".

`>>> extract_dates("31.12.1986")[0].strftime('%m/%d/%Y') '03/01/2012'`

So we can avoid 31st of September situations

For the string "5/1/2016 ", the results are "date": "2016-05-01", the day and month are shown opposite. Kindly tell if some parameter can be used to manually handle this. Or...