diff --git a/include/functions.php b/include/functions.php index 7983166..9a32c6a 100644 --- a/include/functions.php +++ b/include/functions.php @@ -340,9 +340,9 @@ function getHeardList($logLines, $onlyLast) { if ( strlen($callsign) < 11 ) { $name = ""; if (defined("ENABLEXTDLOOKUP")) { - array_push($heardList, array($timestamp, $mode, $callsign, $name, $id, $target, $source, $duration, $loss, $ber)); + array_push($heardList, array(convertTimezone($timestamp), $mode, $callsign, $name, $id, $target, $source, $duration, $loss, $ber)); } else { - array_push($heardList, array($timestamp, $mode, $callsign, $id, $target, $source, $duration, $loss, $ber)); + array_push($heardList, array(convertTimezone($timestamp), $mode, $callsign, $id, $target, $source, $duration, $loss, $ber)); } $duration = ""; $loss =""; diff --git a/include/lh_ajax.php b/include/lh_ajax.php index 9346aaf..a5df876 100644 --- a/include/lh_ajax.php +++ b/include/lh_ajax.php @@ -9,7 +9,7 @@ $totalLH = count($lastHeard);
Time (UTC) | +Time () | Mode | Callsign | ||||
---|---|---|---|---|---|---|---|
Time (UTC) | +Time () | Mode | Callsign | setTimezone(new DateTimeZone(TIMEZONE)); + return $date->format('Y-m-d H:i:s'); +} ?> diff --git a/index.php b/index.php index 476f064..8d3f8d0 100644 --- a/index.php +++ b/index.php @@ -98,9 +98,11 @@ if (defined("ENABLEYSFGATEWAY")) { ?>