dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

Incorrect search_dates when date format is dd.dd.XXXX

Open artemy-ccrsky opened this issue 4 years ago • 3 comments

image

input_text is = "03.03.2011" result match datetime object is 28.10.2011

fix that bug

artemy-ccrsky avatar Oct 28 '21 06:10 artemy-ccrsky

I assume this is search_dates, not parse. It must be picking just the year, and the month and day are taken from today.

Gallaecio avatar Oct 28 '21 07:10 Gallaecio

I assume this is search_dates, not parse. It must be picking just the year, and the month and day are taken from today.

so why does another dates like : "3 march 2011 year was cold", "03-03-2011", "blabla bla 03-03-2011 bla bla bla" it parse well? But with dots it got problems, quickly debug it, i think there are some troubles with dots like the end of sentence or something else

artemy-ccrsky avatar Oct 28 '21 08:10 artemy-ccrsky

Is anyone aware of the fixes for such date formats?

ankitbansal811 avatar Dec 21 '23 09:12 ankitbansal811