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

Inconsistent use of time/date filters #42

Open
jwoglom opened this issue Jul 20, 2022 · 0 comments
Open

Inconsistent use of time/date filters #42

jwoglom opened this issue Jul 20, 2022 · 0 comments
Labels
bug Something isn't working long-term

Comments

@jwoglom
Copy link
Owner

jwoglom commented Jul 20, 2022

Tandem API methods only support filtering by date. However the sync time range contains a time element, and by default is expressed as (now - 24 hrs, now). When calling most API endpoints, the time is cut off from the datetime object passed to the function and just the raw dates are used to query the API and return results. This ends up fetching twice as much data as is necessary in cases where the API parses dates inclusively.

@jwoglom jwoglom added bug Something isn't working long-term labels Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working long-term
Projects
None yet
Development

No branches or pull requests

1 participant