Skip to content

fix(retrieval): 'after [year]' temporal parser sets wrong boundary #65

Description

@laxmanclo

In vektori/retrieval/temporal.py line 173, 'after 2023' sets after_date=datetime(2023,12,31) so only facts from Dec 31 onward match. Should be datetime(year+1,1,1) so facts from all of year+1 onward are returned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions