Skip to content

Commit 0451619

Browse files
committed
Refactor weather data handling and cleanup logic
- Removed the hoursLimit variable and related cleanup logic for hourly forecasts. - Set a fixed forecastHours value of 24 when fetching weather data. - Updated the processForecastHoursData method to calculate the day number based on the forecast timestamp. - Adjusted the creation of hourly state icons to account for day/night conditions.
1 parent 7fa45fb commit 0451619

3 files changed

Lines changed: 60 additions & 60 deletions

File tree

build/main.js

Lines changed: 24 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)