What is displayed
Each row in the list shows three pieces of information:
The list is headed “Next 24 Hours” and contains exactly 24 rows (indices 0–23 of the
hourly arrays).
How to trigger it
Click the 24h Forecast tab. The view does not load automatically — you must click the tab after a city search has completed.The tab is hidden until a successful search has been performed. Once visible, clicking it always re-renders the list from the current
globalWeatherData object.Time formatting
The rawhourly.time values are ISO 8601 strings (e.g. "2024-06-15T14:00"). The app extracts the local hour using:
"0:00", "9:00", and "14:00". The timezone is determined by the timezone=auto parameter in the weather API request, so times reflect the local time at the searched city.
Weather icons
Icons follow the samegetWeatherIcon() logic used across all views: