Use dateTimeFOrmatter to format the date/time on frames

pull/3551/head
Isaac Connor 2022-06-01 15:43:15 -04:00 committed by Isaac Connor
parent 4634325c01
commit 334a2566ea
1 changed files with 3 additions and 2 deletions

View File

@ -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