mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-25 22:27:32 +00:00
18867d9499
The detailed weather took the forecast path for any day whose distance from now was at most 16 days, measured as a fraction of a day. Open-Meteo's forecast reaches today + 15 calendar days, and the day 16 out lies 15.x days from now, so it was asked of the forecast, refused with a 400, and the day showed "No weather data". The cutoff now counts calendar days and sends anything past today + 15 to the climate path. The forecast measures its range from the place's own date, which trails UTC in the Americas for part of the day, so a refusal of that range also falls back to climate. Closes #3216