Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search datetime parameter has incorrect semantics for instant #79

Closed
philvarner opened this issue Jun 1, 2021 · 0 comments · Fixed by #152
Closed

Search datetime parameter has incorrect semantics for instant #79

philvarner opened this issue Jun 1, 2021 · 0 comments · Fixed by #152

Comments

@philvarner
Copy link
Contributor

# Single date is interpreted as end date

The semantics for a Search datetime parameter that contains an instant (e.g., 2000-02-11T00:00:00.000Z) is that the Item.properties.datetime value should match that datetime parameter exactly. However, the code linked to above treats it as if the query were ../2000-02-11T00:00:00.000Z meaning all Items with datetimes prior should match, which is incorrect.

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

Successfully merging a pull request may close this issue.

2 participants