added dd/mm/yyyy as an acceptable date format

This commit is contained in:
SJ
2013-07-28 20:56:59 +02:00
parent bd484784f9
commit 9a23429cf6
8 changed files with 23 additions and 52 deletions

View File

@ -91,7 +91,7 @@ class ModelAuditAudit extends Model {
'piler_id' => isset($m[$a['meta_id']]) ? $m[$a['meta_id']] : '',
'action' => $a['action'],
'email' => $a['email'],
'date' => date(AUDIT_DATE_FORMAT, $a['ts']),
'date' => date(DATE_TEMPLATE . " H:i", $a['ts']),
'ipaddr' => DEMO_MODE == 1 ? anonimize_ip_addr($a['ipaddr']) : $a['ipaddr'],
'description' => $a['description'],
'shortdescription' => make_short_string($a['description'], MAX_CGI_FROM_SUBJ_LEN)