Summary
There appears to be a mismatch between the documented datetime formats and the formats actually accepted when creating a datetime index.
References
Documentation: https://qdrant.tech/documentation/manage-data/payload/#datetime
Related discussion: #3529
Details
The documentation states that the following datetime formats are supported:
"2023-02-08T10:49:00Z" (RFC 3339, UTC)
"2023-02-08T11:49:00+01:00" (RFC 3339, with timezone)
"2023-02-08T10:49:00" (without timezone, UTC is assumed)
"2023-02-08T10:49" (without timezone and seconds)
"2023-02-08" (only date, midnight is assumed)
However, based on testing, the format:
YYYY-MM-DD'T'HH:MM
does not appear to be accepted when creating a datetime index.
As a result, the index is not created for payloads using this format.
Expected Behavior
The documented formats (including YYYY-MM-DD'T'HH:MM) should be fully supported for datetime indexing.
Or the documentation should clarify which subset of formats is actually supported for indexing.
Proposal
A feature request to extend datetime index support to all documented formats, or
a documentation clarification to explicitly distinguish supported formats for indexing vs parsing.
Summary
There appears to be a mismatch between the documented datetime formats and the formats actually accepted when creating a datetime index.
References
Documentation: https://qdrant.tech/documentation/manage-data/payload/#datetime
Related discussion: #3529
Details
The documentation states that the following datetime formats are supported:
However, based on testing, the format:
YYYY-MM-DD'T'HH:MM
does not appear to be accepted when creating a datetime index.
As a result, the index is not created for payloads using this format.
Expected Behavior
The documented formats (including YYYY-MM-DD'T'HH:MM) should be fully supported for datetime indexing.
Or the documentation should clarify which subset of formats is actually supported for indexing.
Proposal
A feature request to extend datetime index support to all documented formats, or
a documentation clarification to explicitly distinguish supported formats for indexing vs parsing.