mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
fix a problem with sunrise
This commit is contained in:
parent
4048d79fc5
commit
3c27fd10b6
@ -39,7 +39,7 @@ WeatherProvider.register("weatherflow", {
|
|||||||
currentWeather.windSpeed = data.current_conditions.wind_avg;
|
currentWeather.windSpeed = data.current_conditions.wind_avg;
|
||||||
currentWeather.windDirection = data.current_conditions.wind_direction;
|
currentWeather.windDirection = data.current_conditions.wind_direction;
|
||||||
currentWeather.weatherType = data.forecast.daily[0].icon;
|
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");
|
currentWeather.sunset = moment(data.forecast.daily[0].sunset, "X");
|
||||||
this.setCurrentWeather(currentWeather);
|
this.setCurrentWeather(currentWeather);
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user