Skip to content

[upstream #16245] #16245: Accept hour-only offsets in list cutoffs #132

Description

@berry-13

From LibreChat-AI#16245 (LibreChat-AI#16245 (comment)).

ISO_DATE in packages/api/src/conversations/filters.ts accepts an hour-only offset (2026-09-01T12:00:00+02), but new Date() cannot parse it, so the request answers 400. The failure is closed and names the parameter; the first-party client sends toISOString() output. Normalize +HH to +HH:00 before constructing the date (and check +HHMM), with a spec case for each form.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: packagesreviewctl followups statebugSomething isn't workingreadyreviewctl followups state

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions