From 3c27fd10b6a128fe5ed0815e8eb5d89fbff1e856 Mon Sep 17 00:00:00 2001 From: tobias Date: Fri, 25 Feb 2022 18:30:01 +0100 Subject: [PATCH] fix a problem with sunrise --- modules/default/weather/providers/weatherflow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default/weather/providers/weatherflow.js b/modules/default/weather/providers/weatherflow.js index af332000..03bdbdab 100644 --- a/modules/default/weather/providers/weatherflow.js +++ b/modules/default/weather/providers/weatherflow.js @@ -39,7 +39,7 @@ WeatherProvider.register("weatherflow", { currentWeather.windSpeed = data.current_conditions.wind_avg; currentWeather.windDirection = data.current_conditions.wind_direction; currentWeather.weatherType = data.forecast.daily[0].icon; - (currentWeather.sunrise = moment(data.forecast.daily[0].sunrise)), "X"; + currentWeather.sunrise = moment(data.forecast.daily[0].sunrise, "X"); currentWeather.sunset = moment(data.forecast.daily[0].sunset, "X"); this.setCurrentWeather(currentWeather); })