Skip to content

Conversation

@YuriZmytrakov
Copy link
Collaborator

@YuriZmytrakov YuriZmytrakov commented Nov 21, 2025

Description:

This PR fixes .0Z milliseconds being truncated by isformat, causing items outside the expected datetime range to be returned. The apply_filter_datetime function was updated to preserve milliseconds when filtering, ensuring that only items exactly within the specified datetime range are included.

Example 2023-01-09T13:39:39.0Z returned item 2023-01-09T13:39:39.024Z which is not within the specified range, but was returned because .0Z was truncated to 2023-01-09T13:39:39Z.

After the fix, queries respect millisecond precision, and only items strictly within the specified range are returned.

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable
  • Changes are added to the changelog

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants