diff --git a/lib/Weather_OWM.lib.php b/lib/Weather_OWM.lib.php index 24bdfd9..b929a7d 100644 --- a/lib/Weather_OWM.lib.php +++ b/lib/Weather_OWM.lib.php @@ -12,7 +12,7 @@ class Weather_OWM extends Weather { global $SETTINGS; $apikey = $SETTINGS['apikeys']['openweathermap.org']; $url = "https://api.openweathermap.org/data/3.0/onecall"; - $json = ApiFetcher::get($url, ["lat" => $this->lat, "lon" => $this->lng, "exclude" => "minutely,hourly", "units" => "ca", "lang" => $SETTINGS['language']], ["appid" => $apikey]); + $json = ApiFetcher::get($url, ["lat" => $this->lat, "lon" => $this->lng, "exclude" => "minutely,hourly", "units" => "metric", "lang" => $SETTINGS['language']], ["appid" => $apikey]); $resp = json_decode($json); $currently = new Conditions();