Add changelog entry for v6.2.4 bug fix

Documented the fix for the auto display refresh glitch that showed previous hour's data at the top of the hour. Updated the changelog with details about the problem and solution.
This commit is contained in:
2026-04-01 21:42:40 +02:00
committed by GitHub
parent 707ebcd99c
commit 5c870f240c
+14
View File
@@ -2,6 +2,20 @@
All notable changes to this project are documented here. All notable changes to this project are documented here.
## v6.2.4 - Exact-boundary display refresh bug (2026-04-01):
**Summary**
Top of the hour auto display refresh glitch fix where display automatically refreshed but showed the PREVIOUS hour's data.
### Problem:
- At the exact top of the hour (e.g., 20:00:00), the display automatically refreshed but showed the PREVIOUS hour's data (19:00). This happened because the "next-boundary" rounding logic in findCurrentPriceIndex() incorrectly excluded the current interval if the time was exactly on the boundary.
### Solution:
- Simplified findCurrentPriceIndex() to use a robust "last entry <= now" comparison. This ensures the display transitions to the new hour instantaneously at XX:00:00.
---
## v6.2.3 - State-based display refresh logic fix (2026-04-01): ## v6.2.3 - State-based display refresh logic fix (2026-04-01):
**Summary** **Summary**