Skip to content

Unable to parse: the 1st [day] of last month #1265

@sglebs

Description

@sglebs
>>> print(dateparser.parse("today"))
2025-04-05 19:29:42.111011
>>> print(dateparser.parse("the 1st of last month"))
2025-03-05 19:29:46.118149
>>> 

Inserting the "day" word does not fix it:

>>> print(dateparser.parse("the 1st day of last month"))
2025-03-04 19:31:12.496695
>>> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions