dg9vh 2016-11-04 07:10:44 +00:00
parent 339fabc749
commit ad1b0bf285
2 changed files with 4 additions and 3 deletions

View file

@ -395,7 +395,8 @@ function getLastHeard($logLines, $onlyLast) {
function getActualMode($metaLastHeard, $mmdvmconfigs) {
// returns mode of repeater actual working in
$listElem = $metaLastHeard[0];
$timestamp = new DateTime($listElem[0]);
$timestamp = new DateTime($listElem[0],new DateTimeZone(TIMEZONE));
$mode = $listElem[1];
if (startsWith($mode, "DMR")) {
$mode = "DMR";
@ -403,7 +404,7 @@ function getActualMode($metaLastHeard, $mmdvmconfigs) {
if (defined("ENABLEXTDLOOKUP") && $listElem[7] == null || !defined("ENABLEXTDLOOKUP") && $listElem[6] == null) {
return "<span class=\"label label-danger\">".$mode."</span>";
} else {
$now = new DateTime();
$now = new DateTime('NOW',new DateTimeZone(TIMEZONE));
$hangtime = getConfigItem("General", "ModeHang", $mmdvmconfigs);
if ($hangtime != "") {

View file

@ -1,3 +1,3 @@
<?php
define("VERSION", "20161103-6");
define("VERSION", "20161104-1");
?>