mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
The dashboard widget lost the previous-year temperature and the difference: when the day's previous-year row is not yet cached and the Visual Crossing history call fails (quota exhausted, outage, or a plan without history access), the route silently returned previousYear: null and the widget hid the comparison. The weather cache accumulates one previous-year row per day, so the route now falls back to the nearest cached previous-year entry within 7 days of the weekday-aligned target date, keeping the comparison on screen through API failures. The exact API error remains logged server-side (🌤️ [ERROR] / [FETCH-HISTORY]) for diagnosis. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHdE9nEh8zHhQNGpCgrtYe