Skip to content

fix(retrieval): 'in [month]' resolves to wrong year for upcoming months #66

Description

@laxmanclo

temporal.py line 190: 'year = ref.year if ref.month >= month_num else ref.year - 1'. If today is June 2026 and user says 'in July', month_num=7 > ref.month=6 so year becomes 2025. Fix: upcoming months in the current year should resolve to ref.year, not ref.year-1.

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