adding date format to last_check
This commit is contained in:
parent
ae2b4700a7
commit
640645ac68
|
@ -80,6 +80,7 @@ class ServerController extends AbstractServerController {
|
|||
$servers[$x]['class'] = ($x & 1) ? 'odd' : 'even';
|
||||
$servers[$x]['rtime'] = round((float) $servers[$x]['rtime'], 4);
|
||||
$servers[$x]['last_online'] = psm_date($servers[$x]['last_online']);
|
||||
$servers[$x]['last_check'] = psm_date($servers[$x]['last_check']);
|
||||
|
||||
if($servers[$x]['type'] == 'website') {
|
||||
// add link to label
|
||||
|
|
Loading…
Reference in New Issue