diff --git a/inc/weatherdata.inc.php b/inc/weatherdata.inc.php index a589ba5..cfc6a49 100644 --- a/inc/weatherdata.inc.php +++ b/inc/weatherdata.inc.php @@ -39,7 +39,7 @@ } $current_response = json_decode($current_response, true); $weather_data = $current_response['data']['conditions'][0]; -echo '

Local Weather (Last Update: '.rtrim($last_update).')

'; +echo '

Local Weather (Last Update: '.gmdate('H:i Y-m-d', intval(rtrim($last_update))).')

'; $windDirDeg = $weather_data['wind_dir_last']; $windDir = ""; // W I N D