You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
doesn't work for the last day of forecast. It returns quite random symbol depending how long the forecast is. The issue is visible especially during winter time, because it may return day symbol instead of night symbol when sun sets early.
The function should be fixed to use local time instead of handling indexes.
The text was updated successfully, but these errors were encountered:
The function
weather-app/src/utils/helpers.ts
Line 385 in a946675
doesn't work for the last day of forecast. It returns quite random symbol depending how long the forecast is. The issue is visible especially during winter time, because it may return day symbol instead of night symbol when sun sets early.
The function should be fixed to use local time instead of handling indexes.
The text was updated successfully, but these errors were encountered: