diff --git a/admin/inc/class.bolog.inc.php b/admin/inc/class.bolog.inc.php index 4a8f645f62..127d09ff48 100755 --- a/admin/inc/class.bolog.inc.php +++ b/admin/inc/class.bolog.inc.php @@ -63,12 +63,12 @@ while(list($rno,$r)=each($rows)) { unset($r['acount_pwd']); // remove the accounts_pwd - $r['log_date_e'] = date('Y.n.d:H.i.s',$r['log_date']); - $r['log_msg_date_e'] = date('Y.n.d:H.i.s',$r['log_msg_date']); - $r['log_full_name'] = $r['account_lastname'] . ', ' .$r['account_firstname']; - $r['account_lastlogin_e'] = date('Y.n.d:H.i.s',$r['account_lastlogin']); - $r['account_lastpwd_change_e'] = date('Y.n.d:H.i.s',$r['account_lastpwd_change']); - $r['account_lastloginfrom_e'] = 'www.nowhere.com'; + $r['log_date_e'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_date'])); + $r['log_msg_date_e'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_msg_date'])); + $r['log_full_name'] = $r['account_lastname'] . ', ' .$r['account_firstname']; + $r['account_lastlogin_e'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastlogin'])); + $r['account_lastpwd_change_e'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastpwd_change'])); + $r['account_lastloginfrom_e'] = 'www.nowhere.com'; $r['log_msg_text'] = lang($r['log_msg_msg'],explode('|',$r['log_msg_parms']));