Use dateTimeFOrmatter to format the date/time on frames
parent
4634325c01
commit
334a2566ea
|
@ -85,12 +85,13 @@ ajaxResponse($data);
|
|||
//
|
||||
|
||||
function queryRequest($eid, $search, $advsearch, $sort, $offset, $order, $limit) {
|
||||
|
||||
global $dateTimeFormatter;
|
||||
|
||||
$data = array(
|
||||
'total' => 0,
|
||||
'totalNotFiltered' => 0,
|
||||
'rows' => array(),
|
||||
'updated' => preg_match('/%/', DATE_FMT_CONSOLE_LONG) ? strftime(DATE_FMT_CONSOLE_LONG) : date(DATE_FMT_CONSOLE_LONG)
|
||||
'updated' => $dateTimeFormatter->format(time())
|
||||
);
|
||||
|
||||
// The names of the dB columns in the events table we are interested in
|
||||
|
|
Loading…
Reference in New Issue