Repository navigation
Fix Statistics hang on daylight saving fall-back days - #795
Merged
Merged
Conversation
kristinkand
added a commit
to kristinkand/LoopFollow
that referenced
this pull request
Oct 29, 2026
The watch app, its project entries and Fastfile follow dev's final loopandlearn#785, which is newer than the test/watch-785 branch merged before. The hub's background refresh logic stays; only the Bluetooth heartbeat's Silent Tune fallback leaves it, as on Integration. The statistics fix is Integration's, which also steps by calendar day (loopandlearn#795). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UUzqfqfsM8BQYJ2yoRaLz8
akoi
added a commit
to akoi/LoopFollow
that referenced
this pull request
Oct 30, 2026
Adapt upstream LoopFollow PR loopandlearn#795 to a shared calendar-day helper. Preserves local Xcode 27.1 app icon fix and adds Europe/Stockholm DST tests.
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opening Statistics hung and was eventually killed when the selected period contained a day where the clock goes back an hour (25 October 2026 in Europe, 1 November 2026 in the US). The basal gap and temp basal adjustment loops advanced from the start of a day by a fixed 24 hours, which on a 25-hour day lands at 23:00 on the same date, so the loop never progressed and the gap loop kept appending entries. Both loops now step to the next day with the calendar.