summaryrefslogtreecommitdiffstats
path: root/frontends/php/hosts.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/hosts.php')
-rw-r--r--frontends/php/hosts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php
index 5ff9b211..1cb07917 100644
--- a/frontends/php/hosts.php
+++ b/frontends/php/hosts.php
@@ -1175,7 +1175,7 @@ include_once "include/page_header.php";
SPACE,
make_sorting_link(S_NAME,'g.name')),
' # ',
- S_MEMBERS,S_ACCESSED));
+ S_MEMBERS,S_LASTSEEN_AGE));
$available_groups = get_accessible_groups_by_user($USER_DETAILS,PERM_READ_WRITE,null,null,get_current_nodeid());
@@ -1203,7 +1203,7 @@ include_once "include/page_header.php";
}
if($db_proxy['lastaccess'] != 0)
- $lastclock = date(S_DATE_FORMAT_YMDHMS, $db_proxy['lastaccess']);
+ $lastclock = zbx_date2age($db_proxy['lastaccess']);
else
$lastclock = new CCol('-', 'center');