dateparser
dateparser copied to clipboard
Is there a PREFER_MONTH_OF_YEAR also?
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)
I would be interested in this functionality as well