Skip to content

"day after tomorrow" = "tomorrow"  #933

Open
@koaning

Description

@koaning

It seems that the search_dates function has a bit of trouble with "day after tomorrow".

from dateparser.search import search_dates

search_dates("day after tomorrow")
[('tomorrow', datetime.datetime(2021, 6, 5, 11, 14, 16, 941615))]

dateparser.__version__
'1.0.0'

It seems to overfit on "tomorrow". The parse API also has a bit of difficulty with it.

from dateparser import parse
parse("day after tomorrow")   # None

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