idle times of more than 24 hours are now displayed

This commit is contained in:
danbas 2004-03-23 08:34:00 +00:00
parent b43b27f6fa
commit ebe9a3354e

View File

@ -48,7 +48,7 @@
'session_logintime' => $GLOBALS['phpgw']->common->show_date($value['session_logintime']),
'session_action' => $value['session_action'],
'session_dla' => $value['session_dla'],
'session_idle' => gmdate('G:i:s',(time() - $value['session_dla']))
'session_idle' => str_pad($hours, 2, '0', STR_PAD_LEFT) . ':' . str_pad($mins, 2, '0', STR_PAD_LEFT) . ':' . str_pad($secs, 2, '0', STR_PAD_LEFT)
);
}
return $_values;