From edc597748dd276d4d27da5102046377f9f0bb16e Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sun, 24 Mar 2019 22:57:49 +0100 Subject: [PATCH] - weather: use km/h instead of m/h Signed-off-by: Thilo Graf --- src/gui/weather.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/weather.cpp b/src/gui/weather.cpp index 59856055e..392083974 100644 --- a/src/gui/weather.cpp +++ b/src/gui/weather.cpp @@ -96,7 +96,7 @@ bool CWeather::GetWeatherDetails() if (!g_settings.weather_enabled) return false; - std::string data = "https://api.darksky.net/forecast/" + key + "/" + coords + "?units=si&lang=de&exclude=minutely,hourly,flags,alerts"; + std::string data = "https://api.darksky.net/forecast/" + key + "/" + coords + "?units=ca&lang=de&exclude=minutely,hourly,flags,alerts"; JSONCPP_STRING answer; JSONCPP_STRING formattedErrors;