No description
Met Office's daily series can include a stray leftover entry for today/yesterday that the old exact-match skip set (today, +1, +2) didn't catch. It sorted to the front of the 4-day window and showed up as an extra day ahead of the real day+3..+6 (live symptom: kiosk bottom row showing Sun, Thu, Fri, Sat instead of Thu, Fri, Sat, Sun). Now filters on "date key > cutoff" (day+2) so any stray day before the window is excluded regardless of why it appeared, and explicitly sorts before slicing so the window is chronological even if the provider's array isn't. Applied to both the Met Office and Open-Meteo daily parsers for consistency. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| backend | ||
| frontend | ||
| .gitignore | ||
| docker-compose.yml | ||
| seed-app.js | ||