mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
6c253c71c3
When a trip is far in the future (e.g. May 2027), the climate fallback looked up last year's data (May 2026). But if that date hasn't passed yet, the Open-Meteo archive API returns 400. Now checks if the reference date is still in the future and goes back one more year. Fixes the flood of 400 errors that could trigger CrowdSec bans.