diff --git a/Cmfcmf/OpenWeatherMap/Forecast.php b/Cmfcmf/OpenWeatherMap/Forecast.php index 45d80f4..fa999fe 100644 --- a/Cmfcmf/OpenWeatherMap/Forecast.php +++ b/Cmfcmf/OpenWeatherMap/Forecast.php @@ -59,7 +59,7 @@ public function __construct(\SimpleXMLElement $xml, $units) if ($units == 'metric') { $windSpeedUnit = 'm/s'; } else { - $windSpeedUnit = 'mps'; + $windSpeedUnit = 'mph'; } $this->wind = new Wind( diff --git a/Examples/WeatherForecast.php b/Examples/WeatherForecast.php index 5fd81bd..adf06c4 100644 --- a/Examples/WeatherForecast.php +++ b/Examples/WeatherForecast.php @@ -28,7 +28,7 @@ // Get OpenWeatherMap object. Don't use caching (take a look into Example_Cache.php to see how it works). $owm = new OpenWeatherMap($myApiKey); -// Example 1: Get forecast for the next 10 days for Berlin. +// Example 1: Get forecast for the next 5 days for Berlin. $forecast = $owm->getWeatherForecast('Berlin', $units, $lang, '', 5); echo "EXAMPLE 1