Open Paulamidas opened 4 years ago
Thank you for filing this issue.
Currently, LexNLP's English language date extraction module uses an en-US
-style locale configuration. This means that dates delimited by forward-slashes are understood to be written in middle-endian format, i.e. MM/DD/YYYY.
The German and Spanish language parsers default to little-endian date formatting, i.e. DD/MM/YYYY. These are respectively available under lexnlp.extract.de.dates
and lexnlp.extract.es.dates
.
please solve. list(lexnlp.extract.en.dates.get_dates("11/8/2020")) is giving [datetime.date(2020, 11, 8)] ,that means 8 november,but actual date is 11 august