v0.2.2
Fix
Hour-of-day band read one hour low in sun-centered mode. In sun-centered mode the band's columns sit at fractional 15° offsets from whole hours — centerLon = subsolar is fractional because of the equation of time (typically ±1° away from where it would be under uniform mean time). The per-column local hour was floor-truncated via | 0, so a column whose true local time was 11:55 got displayed as 11:00 — every column read one hour low whenever EoT was positive (April 15 → June 13, September 1 → December 25).
Cards that center on a fixed longitude (center: home, center: longitude, center: entity) were unaffected — those columns sit at integer-hour-aligned meridians where the fraction is exactly zero, hiding the bug.
The fix rounds to the nearest whole hour rather than truncating; an outer % 24 handles Math.round wrapping 23.7 → 24 → midnight.
No new features, no breaking changes
Drop-in upgrade from v0.2.1.
Internal
- Regression test added against
buildHourCellssimulating noon UTC in May (EoT ≈ +3 min, subsolar ≈ -0.75°): the center column must read noon, not 11.
Full Changelog: v0.2.1...v0.2.2