aboutsummaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/weatherdata.inc.php2
1 files changed, 1 insertions, 1 deletions
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 '<h1>Local Weather <small>(Last Update: '.rtrim($last_update).')</small></h1>';
+echo '<h1>Local Weather <small>(Last Update: '.gmdate('H:i Y-m-d', intval(rtrim($last_update))).')</small></h1>';
$windDirDeg = $weather_data['wind_dir_last'];
$windDir = "";
// W I N D