dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

Is there a PREFER_MONTH_OF_YEAR also?

Open raffaem opened this issue 2 years ago • 1 comments

I see that in settings there is a PREFER_DAY_OF_MONTH, in case the day is missing.

Is there also a PREFER_MONTH_OF_YEAR, in case the month is missing?

Because currently it uses the current month.

Here is an example:

>>> import dateparser
>>> dateparser.parse("2015")
datetime.datetime(2015, 2, 14, 0, 0)

raffaem avatar Feb 14 '22 12:02 raffaem

I would be interested in this functionality as well

enicklas avatar Jul 06 '22 07:07 enicklas