From a1275c72712299cbbc09a2e46df55de1fba7f7fa Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sat, 1 Apr 2023 18:04:09 +0000 Subject: Fix weatherdata date --- inc/weatherdata.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ if ($err) { } $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 -- cgit v1.2.3-54-g00ecf