mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 13:22:14 +00:00
A chart showing the last N days fixed its window end at the mount instant. The query key kept that bound, so the refetch after a new reading asked for the same old window and the reading stayed hidden until the range tab was switched. The window now ends at the end of the current day in the profile time zone (openEndedFetchWindow, keyed on the day): every reading saved today falls inside it, the cache key stays the same all day, and it moves on after midnight. The dashboard batch shares the end-of-day helper. Refs #1102