mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix the recordings date
This commit is contained in:
@@ -355,8 +355,9 @@
|
||||
//get the recordings from the database
|
||||
$sql = "select recording_uuid, domain_uuid, ";
|
||||
if (!empty($sql_file_size)) { $sql .= $sql_file_size; }
|
||||
$sql .= "to_char(timezone(:time_zone, update_date), 'DD Mon YYYY') as date_formatted, \n";
|
||||
$sql .= "to_char(timezone(:time_zone, update_date), '".$sql_time_format."') as time_formatted, \n";
|
||||
$sql .= "to_char(timezone(:time_zone, COALESCE(update_date, insert_date)), 'DD Mon YYYY') as date_formatted, \n";
|
||||
$sql .= "to_char(timezone(:time_zone, COALESCE(update_date, insert_date)), '".$sql_time_format."') as time_formatted, \n";
|
||||
|
||||
$sql .= "recording_name, recording_filename, recording_description ";
|
||||
$sql .= "from v_recordings ";
|
||||
$sql .= "where true ";
|
||||
@@ -714,4 +715,3 @@
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user