Skip to content

Is there a PREFER_MONTH_OF_YEAR also? #1042

@raffaelemancuso

Description

@raffaelemancuso

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions