Fix datetime parsing for YYYY-MM-DDTHH:MM format#8719
Merged
Conversation
…onds) The documented format `2023-02-08T10:49` was not accepted because the parser only had `%Y-%m-%d %H:%M` (space separator) but was missing `%Y-%m-%dT%H:%M` (T separator). Add the missing format variant and tests. Closes #8718 Made-with: Cursor
timvisee
approved these changes
Apr 20, 2026
VainJoker
pushed a commit
to VainJoker/qdrant
that referenced
this pull request
Apr 21, 2026
…onds) (qdrant#8719) The documented format `2023-02-08T10:49` was not accepted because the parser only had `%Y-%m-%d %H:%M` (space separator) but was missing `%Y-%m-%dT%H:%M` (T separator). Add the missing format variant and tests. Closes qdrant#8718 Made-with: Cursor Co-authored-by: Cursor Agent <[email protected]>
timvisee
pushed a commit
that referenced
this pull request
May 8, 2026
…onds) (#8719) The documented format `2023-02-08T10:49` was not accepted because the parser only had `%Y-%m-%d %H:%M` (space separator) but was missing `%Y-%m-%dT%H:%M` (T separator). Add the missing format variant and tests. Closes #8718 Made-with: Cursor Co-authored-by: Cursor Agent <[email protected]>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
YYYY-MM-DDTHH:MM(e.g.2023-02-08T10:49) was not accepted for indexing or range queriesFromStrforDateTimePayloadTypehad%Y-%m-%d %H:%M(space separator, no seconds) but was missing%Y-%m-%dT%H:%M(T separator, no seconds)Test plan
test_datetime_deserialization::case_11_t_sep_without_secondspassestest_datetime_deserialization::case_12_space_sep_without_secondspassestest_datetime_deserialization::case_13_date_onlypassestest_datetime_indexingverifies payload withYYYY-MM-DDTHH:MMis indexed and queryable (CI)Made with Cursor