- weather: use km/h instead of m/h

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-03-24 22:57:49 +01:00
committed by Thilo Graf
parent 7b54b1dfb1
commit edc597748d

View File

@@ -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;