Skip to content

fix: historic lookback for resting heart rate data#203

Open
pvannierop wants to merge 1 commit into
devfrom
fix/fitbit-resting-heart-rate-historic-lookback
Open

fix: historic lookback for resting heart rate data#203
pvannierop wants to merge 1 commit into
devfrom
fix/fitbit-resting-heart-rate-historic-lookback

Conversation

@pvannierop

Copy link
Copy Markdown
Contributor

Background

The historic lookback mechanism ensures that after a certain timeperiod (14 days by default) a missing datum will be considered to be never present. After this period, the datum will never be queried again.

Problem

For Fitbit Resting Heart Rate this mechanism was never invoked. Instead of passing the end date of the current request to the underlying code, NOW is always passed. This ensures the underlying code never considers the missing datum to expire.

Solution

Inline with other FitbitRoute classes the end of the current request is passed to the underlying code.

@pvannierop pvannierop self-assigned this Jul 8, 2026
@pvannierop pvannierop force-pushed the fix/fitbit-resting-heart-rate-historic-lookback branch from 4feb439 to bf640b6 Compare July 8, 2026 07:54
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.

1 participant